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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.4
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Not verified

      Description


      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: