test/java/lang/Float/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.FloatUtils
+ * @run main BitwiseConversion
  * @author Joseph D. Darcy
  */
 
 import static java.lang.Float.*;
-import static sun.misc.FloatConsts.*;
+import static jdk.testlibrary.FloatUtils.*;
 
 public class BitwiseConversion {
     static int testNanCase(int x) {
         int errors  = 0;
         // Strip out sign and exponent bits