Changes between Version 147 and Version 148 of j2p


Ignore:
Timestamp:
10/17/24 09:31:22 (2 weeks ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v147 v148  
    170170
    171171=== Implicit casting, narrowing
    172 Java does automatic casting to silently convert between bytes, int, long etc. These can also involve narrowing, loss of precision etc. There is partial support for these. The translator recognises when such conversion is done and tries to insert extra code to implement the expected narrowing as needed. This is not yet implemented for conversions between double and float, as the translator translates both to python floats.
     172Java does automatic casting to silently convert between bytes, int, long etc. These can also involve narrowing, loss of precision etc. There is partial support for these. The translator recognises when such conversion is done and tries to insert extra code to implement the expected narrowing as needed. But the specification has lots of special cases and the implementation is partial.
    173173
    174174=== @NonNull