< prev index next >

test/compiler/floatingpoint/TestPow2.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 25,47 **** * @test * @bug 8063086 * @summary X^2 special case for C2 yields different result than interpreter * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc ! * @modules java.management ! * @build TestPow2 * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ! * -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestPow2 ! * */ ! import java.lang.reflect.*; ! import sun.hotspot.WhiteBox; import compiler.whitebox.CompilerWhiteBoxTest; public class TestPow2 { private static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox(); private static final double base = 5350.456329377186; --- 25,51 ---- * @test * @bug 8063086 * @summary X^2 special case for C2 yields different result than interpreter * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc ! * java.management ! * ! * @build compiler.floatingpoint.TestPow2 * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ! * -XX:-BackgroundCompilation -XX:-UseOnStackReplacement ! * compiler.floatingpoint.TestPow2 */ ! package compiler.floatingpoint; ! import compiler.whitebox.CompilerWhiteBoxTest; + import sun.hotspot.WhiteBox; + import java.lang.reflect.Method; + public class TestPow2 { private static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox(); private static final double base = 5350.456329377186;
< prev index next >