- 
    Type:
Bug
 - 
    Resolution: Unresolved
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: 22
 - 
    Component/s: core-svc
 
                    Running the test java/lang/instrument/NativeMethodPrefixAgent.java https://github.com/openjdk/jdk/blob/master/test/jdk/java/lang/instrument/NativeMethodPrefixAgent.java  with  -Xverify:all fails pretty quickly with 
#########
STDERR:
Error: LinkageError occurred while loading main class com.sun.javatest.regtest.agent.MainWrapper
java.lang.VerifyError: Operand stack overflow
Exception Details:
Location:
sun/nio/fs/UnixFileSystem.wrapped_tr1_wrapped_tr2_bufferedCopy0(IIJIJ)V @15: lload
Reason:
Exceeded max stack size.
Current Frame:
bci: @15
flags: { }
locals: { integer, integer, long, long_2nd, integer, long, long_2nd }
stack: { integer, integer, long, long_2nd, integer }
Bytecode:
0000000: 1302 a103 b802 9915 0015 0116 0215 0416
0000010: 05b8 02a3 b1
#########
#########
STDERR:
Error: LinkageError occurred while loading main class com.sun.javatest.regtest.agent.MainWrapper
java.lang.VerifyError: Operand stack overflow
Exception Details:
Location:
sun/nio/fs/UnixFileSystem.wrapped_tr1_wrapped_tr2_bufferedCopy0(IIJIJ)V @15: lload
Reason:
Exceeded max stack size.
Current Frame:
bci: @15
flags: { }
locals: { integer, integer, long, long_2nd, integer, long, long_2nd }
stack: { integer, integer, long, long_2nd, integer }
Bytecode:
0000000: 1302 a103 b802 9915 0015 0116 0215 0416
0000010: 05b8 02a3 b1
#########