RFR 8042003: java/lang/Math tests have external dependency on sun.misc.DoubleConsts and sun.misc.FloatConsts
Amy Lu
amy.lu at oracle.com
Mon Aug 18 07:49:04 UTC 2014
There are jdk tests that have dependency on sun.misc.DoubleConsts and
sun.misc.FloatConsts.
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
More information about the core-libs-dev
mailing list