There are 5 "math" related classes in the sun.misc package, DoubleConsts, FDBigInteger, FloatConsts,
FloatingDecimal, and FormattedFloatingDecimal. They provide support for various standard constants,
and conversation / formatting utilities, etc. They are used by the JDK in a few public packages, java.lang,
java.math, java.text, and java.util, as well as in some 2d code. No usages have been found outside the JDK.
Rather than move these classes to a public namespace, and access them through a shared secret ( or
other such mechanism ), I think it makes sense for them to be co-located in their own internal package,
jdk.internal.math ( open to other suggestions on the name ), rather than jdk.internal.misc.
FloatingDecimal, and FormattedFloatingDecimal. They provide support for various standard constants,
and conversation / formatting utilities, etc. They are used by the JDK in a few public packages, java.lang,
java.math, java.text, and java.util, as well as in some 2d code. No usages have been found outside the JDK.
Rather than move these classes to a public namespace, and access them through a shared secret ( or
other such mechanism ), I think it makes sense for them to be co-located in their own internal package,
jdk.internal.math ( open to other suggestions on the name ), rather than jdk.internal.misc.
- relates to
-
JDK-8149896 Removed unnecessary values in FloatConsts and DoubleConsts
-
- Resolved
-
-
JDK-8146197 SignatureAlgorithms.java after push of JDK-8146192
-
- Closed
-