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

FileCacheImageInputStream and FileCacheImageOutputStream should avoid File.deleteOnExit

XMLWordPrintable

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


        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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: