Changes between Version 138 and Version 139 of j2p
- Timestamp:
- 10/03/24 11:40:12 (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v138 v139 392 392 ||I get {{{Inner classes can not be translated}}}||Check the section on [wiki:j2p#Innerclasses inner classes]|| 393 393 ||I get something like {{{from com.X.Y.Z import Z: ModuleNotFoundError: No module named 'com'}}}. {{{com.X.Y.Z}}} is a java package that does not exist in python. ||You did not provide a library or code translate {{{com.X.Y.Z}}} and the translator now uses a "stub" translator that assumes the package on the python side is identical. To fix, you have to add a translator for the {{{com.X.Y.Z}}} package. Or avoid using the package in java|| 394 ||I get POSTFIX_INCREMENT: not supported and the same for POSTFIX_DECREMENT. Why is this not supported?||The general prefix- and postfix-increments are tricky, because they postpone the actual change of the variable. Especially when multiple of them are combined into a single statement. We recommend to manually unroll and use extra statements +=1 and -=1 before or after the statement.||