On Sat, 10 Apr 2021 01:10:37 GMT, Alex Menkov <amen...@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/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()`?

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

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

Reply via email to