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

Alex Menkov amenkov at openjdk.java.net
Wed Apr 21 20:51:52 UTC 2021


On Wed, 21 Apr 2021 20:46:43 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> test/jdk/java/lang/instrument/VerifyLocalVariableTableOnRetransformTest.java line 186:
>> 
>>> 184:         int lineNum = 0;
>>> 185:         for (String line: out1) {
>>> 186:             if (expectedDiffenent(line)) {
>> 
>> Is it possible to use the `expectedDiffenent()` as a filter to get only needed lines from `disassembleClassFile()`?
>
> It's implemented this way to keep lineNum correct. But it was error here. Fixed now

And fixed typo in the method name

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

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


More information about the serviceability-dev mailing list