[windows] JRuby 1.6.5 + Java 7 64 bit server mode command line switch failure
-----------------------------------------------------------------------------
Key: JRUBY-6213
URL: https://jira.codehaus.org/browse/JRUBY-6213
Project: JRuby
Issue Type: Bug
Components: Windows
Affects Versions: JRuby 1.6.5
Environment: Windows 7 64 Bit
C:\jruby-1.6.5\bin>java -version
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)
Reporter: Chris White
When using Java 7 64 bit on Windows 7, the test_command_line_switches test is
failing for this test:
{code}
# JRUBY-2648 [Note: jre6 on windows does not ship server VM - use jdk]
def test_server_vm_option
# server VM when explicitly set --server
result = jruby(%Q{--server -rjava \
-e "print
java.lang.management.ManagementFactory.getCompilationMXBean.name"})
assert_equal 0, $?.exitstatus
assert_match /(tiered|server|j9jit24|j9jit23|(oracle|bea) jrockit\(r\)
optimizing compiler)/, result.downcase
end
{code}
Sure enough, running this command on the console is still putting it as client
compiler:
C:\jruby-1.6.5\bin>jruby --server -rjava -e "print
java.lang.management.ManagementFactory.getCompilationMXBean.name"
This is also the same issue present in JRUBY-2648.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email