Changes between Version 128 and Version 129 of j2p
- Timestamp:
- 09/24/24 10:54:47 (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v128 v129 385 385 ||It seems the python code uses the wrong values in my lambda expression||There is a subtle but essential scoping difference between java and python. In python, a local variable continues living even if it goes outside of scope and can be changed. The lambda will use the latest value assigned to the variable. To copy the current value, consider creating the lambda in a dedicated method|| 386 386 ||I get UnsupportedOperationException ... ResolvedWildcard||This happens sometimes in complex method calls with complex parameters. Usually this happens in a stream() context. We suggest using manual translation in such case|| 387 ||I get {{{Inner classes can not be translated}}}||Check the section [wiki:j2p#Innerclasses]||387 ||I get {{{Inner classes can not be translated}}}||Check the section on [wiki:j2p#Innerclasses inner classes]||