Skip more tests under BCEL involving method handle at runtime
diff --git a/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java b/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java
index b956767..04c2246 100644
--- a/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java
+++ b/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java
@@ -3988,7 +3988,7 @@
" void test() throws NoSuchMethodException {\n" +
" new R().test();\n" +
" }\n" +
- (this.weavingScheme == WeavingScheme.OTRE && this.complianceLevel >= ClassFileConstants.JDK1_8
+ (this.weavingScheme == WeavingScheme.OTRE
? "" // skip execution
:
" public static void main(String[] args) throws NoSuchMethodException {\n" +
@@ -4024,7 +4024,7 @@
"}\n" +
" \n"
},
- (this.weavingScheme == WeavingScheme.OTRE && this.complianceLevel >= ClassFileConstants.JDK1_8
+ (this.weavingScheme == WeavingScheme.OTRE
? ""
: "@IA117cfa5_2(left=one, right=@IA117cfa5_1(value=two))"));
}