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

Examine the desktop module's use of sun.misc.SoftCache

    XMLWordPrintable

Details

    • b120

    Description

      The desktop module has a single remaining dependency on jdk.unsupported, for use of sun.misc.SoftCache. SoftCache
      is not a critical API, as defined by JEP 260, nor is it used widely inside or outside the JDK. In fact, the desktop module
      is the only user of it.

      jdeps -v java.desktop/* | grep unsupported
         sun.awt.SunToolkit -> sun.misc.SoftCache JDK internal API (jdk.unsupported)
         sun.awt.image.MultiResolutionToolkitImage -> sun.misc.SoftCache JDK internal API (jdk.unsupported)
         sun.awt.image.MultiResolutionToolkitImage$ObserverCache -> sun.misc.SoftCache JDK internal API (jdk.unsupported)

      If the desktop module needs the functionality provided by SoftCache, then it should be moved to an appropriate internal
      package in the desktop module.

      Attachments

        Issue Links

          Activity

            People

              alexsch Alexandr Scherbatiy
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: