FileCacheImageInputStream and FileCacheImageOutputStream should avoid File.deleteOnExit

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 6
    • Affects Version/s: 1.4.0, 1.4.2
    • Component/s: 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

              Assignee:
              Andrew Brygin
              Reporter:
              Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: