[code-reflection] RFR: Represents literals of type byte/short as permitted in the Java language [v4]
Mourad Abbay
mabbay at openjdk.org
Wed Mar 12 23:08:37 UTC 2025
> Before this PR, we had literals of type byte/short in the code model, but that's not permitted by the Java language. In Java, a literals of type byte/short is a literal of type int + conversion to the type byte/short.
Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:
Add tests to make sure literals of type byte/short are created the way Java language permit.
-------------
Changes:
- all: https://git.openjdk.org/babylon/pull/351/files
- new: https://git.openjdk.org/babylon/pull/351/files/c9326ccb..c6614d18
Webrevs:
- full: https://webrevs.openjdk.org/?repo=babylon&pr=351&range=03
- incr: https://webrevs.openjdk.org/?repo=babylon&pr=351&range=02-03
Stats: 116 lines in 2 files changed: 116 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/babylon/pull/351.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/351/head:pull/351
PR: https://git.openjdk.org/babylon/pull/351
More information about the babylon-dev
mailing list