Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8137055 Prepare for JEP 260
  3. JDK-8145990

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

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b100

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: