On Wed, 21 Apr 2021 20:46:43 GMT, Alex Menkov <[email protected]> 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