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

Migrate use of sun.misc.* to supported APIs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • None
    • core-libs

      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.

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: