Permalink
Browse files

Fix jrockit version line detection to allow "bea" or "oracle" as the …

…vendor name.
  • Loading branch information...
1 parent 54724d4 commit 83f1a81f9f1eb910b111c396e9e07e8b46e0e8bf @headius headius committed Jun 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_command_line_switches.rb
@@ -216,7 +216,7 @@ def test_server_vm_option
result = jruby(%Q{--server -rjava \
-e "print java.lang.management.ManagementFactory.getCompilationMXBean.name"})
assert_equal 0, $?.exitstatus
- assert_match /(tiered|server|j9jit24|j9jit23|bea jrockit\(r\) optimizing compiler)/, result.downcase
+ assert_match /(tiered|server|j9jit24|j9jit23|(oracle|bea) jrockit\(r\) optimizing compiler)/, result.downcase
end
# JRUBY-3962

0 comments on commit 83f1a81

Please sign in to comment.