Changes between Version 127 and Version 128 of j2p
- Timestamp:
- 09/24/24 10:54:23 (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v127 v128 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 #innerclasses||387 ||I get {{{Inner classes can not be translated}}}||Check the section [wiki:j2p#Innerclasses]||