Skip to content

Commit

Permalink
Recognize JVM spec 1.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Feb 26, 2015
1 parent 76da547 commit 0cff9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyInstanceConfig.java
Expand Up @@ -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");
Expand Down

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 via email

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.