Move sun.misc math support classes to jdk.internal.math

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b100

      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.

            Assignee:
            Chris Hegarty
            Reporter:
            Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: