RFR: 8314819: [JVMCI] HotSpotJVMCIRuntime.lookupType throws unexpected ClassNotFoundException

Doug Simon dnsimon at openjdk.org
Tue Aug 22 21:46:17 UTC 2023


This PR restores the expected behavior prior to [JDK-8313421](https://bugs.openjdk.org/browse/JDK-8313421) whereby `HotSpotJVMCIRuntime.lookupType` throws `NoClassDefFoundError` instead of `ClassNotFoundException`.

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

Commit messages:
 - CompilerToVM.lookupType must throw NoClassDefFoundError instead of ClassNotFoundException

Changes: https://git.openjdk.org/jdk/pull/15393/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15393&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8314819
  Stats: 5 lines in 2 files changed: 0 ins; 3 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/15393.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15393/head:pull/15393

PR: https://git.openjdk.org/jdk/pull/15393


More information about the graal-dev mailing list