[lworld] RFR: 8336682: [lworld] java/lang/instrument/IsModifiableClassAgent.java test fails when run with migrates classes
Coleen Phillimore
coleenp at openjdk.org
Fri Jul 19 12:17:19 UTC 2024
The test uses the class file reconstituter to provide the redefined bytecodes, leaving out the LoadableDescriptors. Adding them to the reconsistituted class file makes the test pass, also fix the verification code since these descriptors are utf8s now. Tested with java/lang/instrument with --enable-preview. Should write a test but I don't know how.
-------------
Commit messages:
- 8336682: [lworld] java/lang/instrument/IsModifiableClassAgent.java test fails when run with migrates classes
Changes: https://git.openjdk.org/valhalla/pull/1172/files
Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1172&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8336682
Stats: 45 lines in 4 files changed: 32 ins; 0 del; 13 mod
Patch: https://git.openjdk.org/valhalla/pull/1172.diff
Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1172/head:pull/1172
PR: https://git.openjdk.org/valhalla/pull/1172
More information about the valhalla-dev
mailing list