Hi,
there's some regression in java-1.7.0-openjdk-1.7.0.65 (probably this one [1])
that causes failure in our tests:
Tests in error:
initializationError(org.ovirt.engine.api.restapi.resource.BackendResourceInfoDetailTest):
Bad <init> method call from inside of a branch
Exception Details:
Location:
org/ovirt/engine/api/restapi/resource/AbstractBackendResourceLoggingTest.<init>(Lorg/powermock/core/IndicateReloadClass;)V
@40: invokespecial
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2a2b 4e4d 1210 b800 1604 bd00 0d59 032d
0000010: 5312 a6b8 001b b800 213a 0519 05b2 0025
0000020: a500 0e2a 01c0 0027 b700 2aa7 000a 2c2d
0000030: b700 2a01 57b1
Stackmap Table:
full_frame(@46,{UninitializedThis,Object[#39],UninitializedThis,Object[#39],Top,Object[#13]},{})
full_frame(@53,{Object[#2],Object[#39],Object[#2],Object[#39],Top,Object[#13]},{})
initializationError(org.ovirt.engine.api.restapi.resource.BackendResourceDebugDetailTest):
Bad <init> method call from inside of a branch
Exception Details:
Location:
org/ovirt/engine/api/restapi/resource/AbstractBackendResourceLoggingTest.<init>(Lorg/powermock/core/IndicateReloadClass;)V
@40: invokespecial
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2a2b 4e4d 1210 b800 1604 bd00 0d59 032d
0000010: 5312 a6b8 001b b800 213a 0519 05b2 0025
0000020: a500 0e2a 01c0 0027 b700 2aa7 000a 2c2d
0000030: b700 2a01 57b1
Stackmap Table:
full_frame(@46,{UninitializedThis,Object[#39],UninitializedThis,Object[#39],Top,Object[#13]},{})
full_frame(@53,{Object[#2],Object[#39],Object[#2],Object[#39],Top,Object[#13]},{})
If you spot this error, just downgrade to java-1.7.0-openjdk-1.7.0.60, which works fine.
Martin
[1]
https://bugs.openjdk.java.net/browse/JDK-8051012