test/java/lang/Double/BitwiseConversion.java

Print this page

        

@@ -23,15 +23,18 @@
 
 /*
  * @test
  * @bug 5037596
  * @summary Verify bitwise conversion works for non-canonical NaN values
+ * @library /lib/testlibrary
+ * @build jdk.testlibrary.DoubleUtils
+ * @run main BitwiseConversion
  * @author Joseph D. Darcy
  */
 
 import static java.lang.Double.*;
-import static sun.misc.DoubleConsts.*;
+import static jdk.testlibrary.DoubleUtils.*;
 
 public class BitwiseConversion {
     static int testNanCase(long x) {
         int errors  = 0;
         // Strip out sign and exponent bits