This change moves code back to match mainline that checks access flags and checks for invalid JVM_CONSTANTS_Module/Package before reading the class name out of the constant pool. Tested with tier1-3.
------------- Commit messages: - remove commented out problem list test. - 8294051: [lworld] runtime/AccModule/ConstModule.java fails with incorrect error message Changes: https://git.openjdk.org/valhalla/pull/1550/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1550&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8294051 Stats: 50 lines in 3 files changed: 17 ins; 22 del; 11 mod Patch: https://git.openjdk.org/valhalla/pull/1550.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1550/head:pull/1550 PR: https://git.openjdk.org/valhalla/pull/1550
