Update to ASM 7.0
@@ -791,7 +791,7 @@ public class JavacTurbineTest extends AbstractJavacTurbineCompilationTest {
"// class version 52.0 (52)",
"// access flags 0x4031",
"// signature Ljava/lang/Enum<LTheEnum;>;",
- "// declaration: extends java.lang.Enum<TheEnum>",
+ "// declaration: TheEnum extends java.lang.Enum<TheEnum>",
"public final enum TheEnum extends java/lang/Enum {",
"",
"",
@@ -883,7 +883,11 @@ public class JavacTurbineTest extends AbstractJavacTurbineCompilationTest {
@Test
public void requiredConstructor() throws Exception {
- addSourceLines("Super.java", "class Super {", " public Super(int x) {}", "}");
+ addSourceLines(
+ "Super.java", //
+ "class Super {",
+ " public Super(int x) {}",
+ "}");
addSourceLines(
"Hello.java",
"class Hello extends Super {",
@@ -1294,7 +1298,7 @@ public class JavacTurbineTest extends AbstractJavacTurbineCompilationTest {
"// class version 52.0 (52)",
"// access flags 0x20",
"// signature Ljava/lang/Object;Ljava/util/concurrent/Callable<Ljava/lang/String;>;",
- "// declaration: implements java.util.concurrent.Callable<java.lang.String>",
+ "// declaration: Bridge implements java.util.concurrent.Callable<java.lang.String>",
"class Bridge implements java/util/concurrent/Callable {",
"",
"",
@@ -1332,7 +1336,7 @@ public class JavacTurbineTest extends AbstractJavacTurbineCompilationTest {
"// class version 52.0 (52)",
"// access flags 0x4420",
"// signature Ljava/lang/Enum<LP;>;Ljava/util/function/Predicate<Ljava/lang/String;>;",
- "// declaration: extends java.lang.Enum<P>"
+ "// declaration: P extends java.lang.Enum<P>"
+ " implements java.util.function.Predicate<java.lang.String>",
"abstract enum P extends java/lang/Enum implements java/util/function/Predicate {",
"",
@@ -1375,7 +1379,7 @@ public class JavacTurbineTest extends AbstractJavacTurbineCompilationTest {
"// class version 52.0 (52)",
"// access flags 0x4030",
"// signature Ljava/lang/Enum<LP;>;",
- "// declaration: extends java.lang.Enum<P>",
+ "// declaration: P extends java.lang.Enum<P>",
"final enum P extends java/lang/Enum {",
"",
" // access flags 0x19",
