Changes between Version 109 and Version 110 of j2p
- Timestamp:
- 08/19/24 13:13:01 (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v109 v110 358 358 ||I'm getting "No translator found for X". But X is a class that I'm trying to translate||The java files you are trying to translate are probably not compiled by the java compiler. When the translator finds a method call, it needs the compiled java to determine the proper signature (function name and arguments). You can use the build-helper-maven-plugin to add your additional sources to the standard maven build path.|| 359 359 ||I get an error that casting primitives is not supported.||Casting of primitives is different from normal casting, it fundamentally changes the data. Instead use Double.valueOf(), Integer.valueOf(), Character.toChars() etc|| 360 ||I get an error {{{UnboundLocalError: local variable ... referenced before assignment}}} (where ... is a variable name)||Usually this happens if the variable has a name that collides with a method name or library in python, eg "list". Rename the variable so that it is not colliding||