RFR: 8262002: java/lang/instrument/VerifyLocalVariableTableOnRetransformTest.sh failed with "TestCaseScaffoldException: DummyClassWithLVT did not match .class file"
Serguei Spitsyn
sspitsyn at openjdk.java.net
Thu Apr 15 03:17:36 UTC 2021
On Sat, 10 Apr 2021 01:10:37 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> The test actually failed starting from jdk13, but the error is masked by JDK-8264667 (and shell part of the test didn't verify result of the java execution)
> The fix:
> - updates JvmtiClassFileReconstituter to add attributes in the same order as javac does
> - makes the test java instead of shell
> - added workaround for JDK-8264667
> - test code is ready to ignore order of attributes
test/jdk/java/lang/instrument/ATransformerManagementTestCase.java line 125:
> 123: manager.addTransformer(transformer, canRetransform);
> 124: // verbosePrint("Added transformer " + transformer
> 125: // + " with canRetransform=" + canRetransform);
I'd suggest to remove the commented out lines.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3426
More information about the hotspot-dev
mailing list