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

loading images from Class.getResource(), systemresource leaks file descriptiors

XMLWordPrintable

    • 1.1.4
    • sparc
    • solaris_2.5
    • Not verified


      A testcase is attached with the bug. Compile and run the test and you
      will see that it gets a npe. Doing a truss on this (on SOlaris) you will notice
      that file descriptors are leaked. I think sun.awt.FileImageSource leaks
      the fds but I am not sure. This is a severe bug
      because things fail mysteriously (once the fds run out, class loading
      fails as well).

      -Pramod

            brenaudsunw Benjamin Renaud (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: