The VMSupport class is required for translating an exception between the 
HotSpot and libgraal heaps.
Loading it lazily can result in a loading exception, obscuring the exception 
being translated.
To avoid this, VMSupport is loaded eagerly along with the other vmClasses.

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

Commit messages:
 - resolve VMSupport at bootstrap to avoid nested exception in 
ExceptionTranslation::doit

Changes: https://git.openjdk.org/jdk/pull/14641/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14641&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310829
  Stats: 19 lines in 5 files changed: 1 ins; 11 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/14641.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14641/head:pull/14641

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

Reply via email to