-
Bug
-
Resolution: Fixed
-
P2
-
None
-
None
-
b04
Compiling this .jasm file using @compile inside of a JTReg test results in class file version 45.3 instead of expected 54.65535:
super public class Version54 version 54:65535 {
public Method "<init>":"()V" stack 1 locals 1 {
aload_0;
invokespecial Method java/lang/Object."<init>":"()V";
return;
}
public static Method main:"([Ljava/lang/String;)V" throws java/lang/Throwable stack 2 locals 1 {
getstatic Field java/lang/System.out:"Ljava/io/PrintStream;";
ldc String "Hello";
invokevirtual Method java/io/PrintStream.println:"(Ljava/lang/String;)V";
return;
}
} // end Class Version54
super public class Version54 version 54:65535 {
public Method "<init>":"()V" stack 1 locals 1 {
aload_0;
invokespecial Method java/lang/Object."<init>":"()V";
return;
}
public static Method main:"([Ljava/lang/String;)V" throws java/lang/Throwable stack 2 locals 1 {
getstatic Field java/lang/System.out:"Ljava/io/PrintStream;";
ldc String "Hello";
invokevirtual Method java/io/PrintStream.println:"(Ljava/lang/String;)V";
return;
}
} // end Class Version54
- relates to
-
JDK-8198908 Add JVM support for preview features
- Resolved