Integrated: 8262002: java/lang/instrument/VerifyLocalVariableTableOnRetransformTest.sh failed with "TestCaseScaffoldException: DummyClassWithLVT did not match .class file"

Alex Menkov amenkov at openjdk.java.net
Thu May 6 18:37:54 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

This pull request has now been integrated.

Changeset: 52f1db6b
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/52f1db6b6f7f5e5823ee84fc31edddf89ed21df4
Stats:     216 lines in 4 files changed: 109 ins; 97 del; 10 mod

8262002: java/lang/instrument/VerifyLocalVariableTableOnRetransformTest.sh failed with "TestCaseScaffoldException: DummyClassWithLVT did not match .class file"

Reviewed-by: coleenp, sspitsyn

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

PR: https://git.openjdk.java.net/jdk/pull/3426


More information about the serviceability-dev mailing list