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

Remove unused methods in sun.misc.JavaAWTAccess

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: