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