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

InputContext.dispose() spec contains extra unclear information

XMLWordPrintable

    • beta
    • generic
    • solaris_2.5

      Spec reads:

      "Disposes of the input context and release the resources used by it."

      InputContext.dispose() is consistent with the behavior of other AWT
      dispose() methods. Generally these methods free resources, but leave
      the "Java object" intact. In fact, resources can be re-acquired through
      the same java object. This is true for Window.hide()/show() and is
      also true for InputContext, since resources will be re-acquired if
      dispatchEvent(Event) is called after dispose().

      Suggest change to:
      "Releases the resources used by the input context."

            xlu Xiaobin Lu (Inactive)
            sflemingsunw Steve Fleming (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: