< prev index next >
test/compiler/eliminateAutobox/TestDoubleBoxing.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 23,40 ****
/*
* @test
* @bug 6934604
* @summary enable parts of EliminateAutoBox by default
! * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+EliminateAutoBox TestDoubleBoxing
* @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+EliminateAutoBox
! * -XX:CompileCommand=exclude,TestDoubleBoxing.dummy -XX:CompileCommand=exclude,TestDoubleBoxing.foo -XX:CompileCommand=exclude,TestDoubleBoxing.foob TestDoubleBoxing
* @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-EliminateAutoBox
! * -XX:CompileCommand=exclude,TestDoubleBoxing.dummy -XX:CompileCommand=exclude,TestDoubleBoxing.foo -XX:CompileCommand=exclude,TestDoubleBoxing.foob TestDoubleBoxing
! *
*/
public class TestDoubleBoxing {
static final Double ibc = new Double(1.);
//===============================================
--- 23,49 ----
/*
* @test
* @bug 6934604
* @summary enable parts of EliminateAutoBox by default
! *
* @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+EliminateAutoBox
! * compiler.eliminateAutobox.TestDoubleBoxing
! * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+EliminateAutoBox
! * -XX:CompileCommand=exclude,compiler.eliminateAutobox.TestDoubleBoxing::dummy
! * -XX:CompileCommand=exclude,compiler.eliminateAutobox.TestDoubleBoxing::foo
! * -XX:CompileCommand=exclude,compiler.eliminateAutobox.TestDoubleBoxing::foob
! * compiler.eliminateAutobox.TestDoubleBoxing
* @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-EliminateAutoBox
! * -XX:CompileCommand=exclude,compiler.eliminateAutobox.TestDoubleBoxing::dummy
! * -XX:CompileCommand=exclude,compiler.eliminateAutobox.TestDoubleBoxing::foo
! * -XX:CompileCommand=exclude,compiler.eliminateAutobox.TestDoubleBoxing::foob
! * compiler.eliminateAutobox.TestDoubleBoxing
*/
+ package compiler.eliminateAutobox;
+
public class TestDoubleBoxing {
static final Double ibc = new Double(1.);
//===============================================
< prev index next >