This fix is to remove above internal API dependency from the tests.
bug: https://bugs.openjdk.java.net/browse/JDK-8042003 webrev: http://cr.openjdk.java.net/~ewang/amylu/JDK-8042003/webrev.00/ The fix:1. Updated test withconstants that defined in java.lang.Double/Float if the definition exist 2. Introduced jdk.testlibrary.DoubleUtils/FloatUtils to contain additional constants
Thanks, Amy