Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/main/java/org/jruby/util/cli/OutputStrings.java
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
import jnr.posix.util.Platform;
import org.jruby.CompatVersion;
import org.jruby.RubyInstanceConfig;
import org.jruby.ext.rbconfig.RbConfigLibrary;
import org.jruby.runtime.Constants;
import org.jruby.util.SafePropertyAccessor;
/**
@@ -122,8 +123,8 @@ public static String getVersionString() {
SafePropertyAccessor.getProperty("java.runtime.version", SafePropertyAccessor.getProperty("java.version", "Unknown version")),
Options.COMPILE_INVOKEDYNAMIC.load() ? " +indy" : "",
Options.COMPILE_MODE.load().shouldJIT() ? " +jit" : "",
Platform.getOSName(),
SafePropertyAccessor.getProperty("os.arch", "Unknown arch")
RbConfigLibrary.getOSName(),
RbConfigLibrary.getArchitecture()
);

return fullVersion;

0 comments on commit 1fd82ea

Please sign in to comment.