JDK-8145990 : Move sun.misc math support classes to jdk.internal.math
  • Type: Sub-task
  • Component: core-libs
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-12-22
  • Updated: 2016-03-25
  • Resolved: 2015-12-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b100Fixed
Related Reports
Relates :  
Relates :  
Description
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.