Changes between Version 84 and Version 85 of j2p
- Timestamp:
- 06/06/24 15:30:37 (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v84 v85 183 183 * some classes like {{{Arrays}}} or {{{Override}}} do not have a direct python equivalent. calls to static functions in these classes can still be translated. 184 184 * Different java classes, eg {{{Map}}} {{{AbstractMap}}} and {{{HashMap}}}, may translate to the same python class ({{{map}}}). This can be done because translation is only 1 way. 185 * The imported libraries in python have a different name than those in java. If the python library name equals the name of some variable in your code, this will cause a runtime error, typically something like {{{local variable 'json' referenced before assignment}}}. We can not (yet?) detect these issues at compile time. To solve it, change the variable name in java. 185 186 186 187 == Usage