# HG changeset patch # User anoll # Date 1393996099 -3600 # Node ID 27689a7550a8509bdd3fd209330e9ca7e84be110 # Parent bbfe3ac1471dcfdc1751dde90565f9b267699b9e 8036092: [TESTBUG] compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: Unrecognized VM option 'UseTypeSpeculation' Summary: Add -XX:+IgnoreUnrecognizedVMOptions to @main/othervm to make the test pass on Client VM Reviewed-by: kvn, roland diff -r bbfe3ac1471d -r 27689a7550a8 test/compiler/uncommontrap/TestSpecTrapClassUnloading.java --- a/test/compiler/uncommontrap/TestSpecTrapClassUnloading.java Tue Jan 28 15:05:46 2014 +0100 +++ b/test/compiler/uncommontrap/TestSpecTrapClassUnloading.java Wed Mar 05 06:08:19 2014 +0100 @@ -25,7 +25,7 @@ * @test * @bug 8031752 * @summary speculative traps need to be cleaned up at GC - * @run main/othervm -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:+UnlockExperimentalVMOptions -XX:+UseTypeSpeculation -XX:TypeProfileLevel=222 -XX:CompileCommand=exclude,java.lang.reflect.Method::invoke -XX:CompileCommand=exclude,sun.reflect.DelegatingMethodAccessorImpl::invoke -Xmx1M TestSpecTrapClassUnloading + * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:+UnlockExperimentalVMOptions -XX:+UseTypeSpeculation -XX:TypeProfileLevel=222 -XX:CompileCommand=exclude,java.lang.reflect.Method::invoke -XX:CompileCommand=exclude,sun.reflect.DelegatingMethodAccessorImpl::invoke -Xmx1M TestSpecTrapClassUnloading * */