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

Suggest calling superclass if overriding removeNotify

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.2
    • docs
    • b26
    • generic
    • generic

      4289940 records a problem with exceptions thrown during disposal, e.g.

      Exception during disposal:
                        java.lang.reflect.InvocationTargetException: java.lang.IllegalStateException:
                        Can't dispose InputContext while it's active

      We should modify the docs for Component.removeNotify to say that client code
      overriding this method should have a call to super.removeNotify as the first
      line of the overriding method (as described in the evaluation for 4289940).

            sharonz Sharon Zakhour (Inactive)
            ehawkessunw Eric Hawkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: