< prev index next >

test/compiler/floatingpoint/NaNTest.java

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

*** 22,33 **** */ /** * @test * @bug 8076373 * @summary Verify if signaling NaNs are preserved. ! * @run main NaNTest */ public class NaNTest { static void testFloat() { int originalValue = 0x7f800001; int readBackValue = Float.floatToRawIntBits(Float.intBitsToFloat(originalValue)); if (originalValue != readBackValue) { --- 22,37 ---- */ /** * @test * @bug 8076373 * @summary Verify if signaling NaNs are preserved. ! * ! * @run main compiler.floatingpoint.NaNTest */ + + package compiler.floatingpoint; + public class NaNTest { static void testFloat() { int originalValue = 0x7f800001; int readBackValue = Float.floatToRawIntBits(Float.intBitsToFloat(originalValue)); if (originalValue != readBackValue) {
< prev index next >