Skip to content
Permalink
Browse files
Recognize JVM spec 1.9.
  • Loading branch information
headius committed Feb 26, 2015
1 parent 76da547 commit 0cff9f9668f02eaa90b025eff984446c37724dcd
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/org/jruby/RubyInstanceConfig.java
@@ -1836,7 +1836,7 @@ private static int initGlobalJavaVersion() {
return Opcodes.V1_5;
} else if (specVersion.equals("1.6")) {
return Opcodes.V1_6;
} else if (specVersion.equals("1.7") || specVersion.equals("1.8")) {
} else if (specVersion.equals("1.7") || specVersion.equals("1.8") || specVersion.equals("1.9")) {
return Opcodes.V1_7;
} else {
System.err.println("unsupported Java version \"" + specVersion + "\", defaulting to 1.5");

2 comments on commit 0cff9f9

@kares
Copy link
Member

@kares kares commented on 0cff9f9 Feb 26, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wasn't it supposed to change to "9.0" in OpenJDK ?

@headius
Copy link
Member Author

@headius headius commented on 0cff9f9 Feb 26, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.