[lworld] RFR: JDK-8270350: [lworld] GeneratedMethodAccessor contains incorrect cast

Mandy Chung mchung at openjdk.java.net
Fri Jul 16 17:08:30 UTC 2021


This patch updates the bytecode generated for core reflection to use ReferenceType descriptor in CONSTANT_Class_info for primitive classes.   In addition, the VM classFileParser temporarily disables the class file version check for `jdk/internal/reflect` classes since it's still version 49 until JDK-8266010 is fixed.

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

Commit messages:
 - JDK-8270350: [lworld] GeneratedMethodAccessor contains incorrect cast

Changes: https://git.openjdk.java.net/valhalla/pull/483/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=483&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8270350
  Stats: 3 lines in 2 files changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/483.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/483/head:pull/483

PR: https://git.openjdk.java.net/valhalla/pull/483



More information about the valhalla-dev mailing list