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

TextCompnentPrintable does not call dispose on created graphics

XMLWordPrintable

    • b07
    • generic
    • generic
    • Not verified

      sun.swing.text.TextComponentPrintable creates new Graphics2D out from the provided Graphics on every print call. It is supposed to call 'dispose' on this Graphics2D but it does not. Note : it is not a memory leak for the graphics will be disposed on garbage collection.
      However it is a preferred practice to call dispose as soon as graphics is not needed.

            shickeysunw Shannon Hickey (Inactive)
            idk Igor Kushnirskiy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: