[code-reflection] RFR: Fix lowering type pattern

Mourad Abbay mabbay at openjdk.org
Fri Dec 19 20:54:30 UTC 2025


The lowering of TypePattern was performing unnecessary check by invoking inexistent method on ExactConversionSupport e.g. `isIntToIntExact.

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

Commit messages:
 - Test we don't perform check for primitive identity conversion
 - Fix the logic of isNarrowingPrimitiveConversion

Changes: https://git.openjdk.org/babylon/pull/772/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=772&range=00
  Stats: 3 lines in 2 files changed: 2 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/babylon/pull/772.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/772/head:pull/772

PR: https://git.openjdk.org/babylon/pull/772


More information about the babylon-dev mailing list