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

FileCacheImageInputStream and FileCacheImageOutputStream should avoid File.deleteOnExit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 6
    • 1.4.0, 1.4.2
    • client-libs
    • None
    • b47
    • generic, sparc
    • generic, solaris_8

    Backports

      Description


        Currently both the javax/imageio/stream/FileCacheImageInputStream and
        javax/imageio/stream/FileCacheImageOutputStream classes use the File.deleteOnExit
        functionality. There is a known bug with this method which is most noticeable
        on servers running over a long period of time. (4513817)

        A shutdown hook approach suggested by PDE should be used instead for these two classes.
        ###@###.### 2005-06-27 12:56:09 GMT

        Attachments

          Issue Links

            Activity

              People

                bae Andrew Brygin
                coffeys Sean Coffey
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: