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

Remove unused methods in sun.misc.JavaAWTAccess

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • b117

    Backports

      Description

        The following methods in sun.misc.JavaAWTAccess are no longer needed and should be removed:
            public Object get(Object key);
            public void put(Object key, Object value);
            public void remove(Object key);
            public boolean isDisposed();
            public boolean isMainAppContext();

        The only dependency from core-libs to AppContext is the ability to determine if it is running in an applet environment and obtain an opaque unique object to represent different applet context.

        we should be cautious in adding back any dependency to AppContext in the future.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: