[lworld] RFR: 8317172: [lworld] vmTestbase/vm/mlvm/hiddenloader/stress/byteMutation/Test.java assert SystemDictionary::resolve_instance_class_or_null
Casper Norrbin
cnorrbin at openjdk.org
Tue Feb 24 14:27:42 UTC 2026
Hi everyone,
`ClassFileParser::verify_legal_class_name` has some leftover code referencing `CONSTANT_CLASS_DESCRIPTORS`, which is no longer used and relevant. With the code in place, we wrongly verifies classnames, resulting in test failures.
With this PR I have removed all references to `CONSTANT_CLASS_DESCRIPTORS`. The failing test now passes as expected and as such I have also removed it from the problemlist.
Testing:
- Tiers 1-3
-------------
Commit messages:
- removed last trace of CONSTANT_CLASS_DESCRIPTORS
Changes: https://git.openjdk.org/valhalla/pull/2158/files
Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2158&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8317172
Stats: 5 lines in 2 files changed: 0 ins; 4 del; 1 mod
Patch: https://git.openjdk.org/valhalla/pull/2158.diff
Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2158/head:pull/2158
PR: https://git.openjdk.org/valhalla/pull/2158
More information about the valhalla-dev
mailing list