[code-reflection] RFR: Represents literals of type byte/short as permitted in the Java language [v3]

Mourad Abbay mabbay at openjdk.org
Wed Mar 12 18:38:30 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:

  Pass unboxed type to numericOneValue

-------------

Changes:
  - all: https://git.openjdk.org/babylon/pull/351/files
  - new: https://git.openjdk.org/babylon/pull/351/files/41cb5acf..c9326ccb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=351&range=02
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=351&range=01-02

  Stats: 3 lines in 1 file changed: 1 ins; 1 del; 1 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