Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8066506

Migrate use of sun.misc.* to supported APIs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      All sun.misc.* classes are JDK internal APIs that are not supported and should not be used. This issue documents the supported APIs that you should migrate to use.

      1. sun.misc.BASE64Decoder, sun.misc.BASE64Encoder

      Use java.util.Base64 @since 8 instead

      2. sun.misc.Service

      Use java.util.ServiceLoader @since 1.6 instead

      3. sun.misc.Timer

      Use java.util.Timer @since 1.3 instead.

      4. sun.misc.RegexPool

      Use java.util.regex @since 1.4 instead.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mchung Mandy Chung
              Reporter:
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: