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

JavaSound should clean up resources better

    XMLWordPrintable

Details

    Backports

      Description

        The test FrameLengthAfterConversion.java is leaving files in /cygdrive/c/temp with names like:

        sound1062925923071199713.tmp

        cat -n javax/sound/sampled/AudioInputStream/FrameLengthAfterConversion.java

           159 final File temp = File.createTempFile("sound", ".tmp");
           160 temp.deleteOnExit();

        The temp.deleteOnExit(); at line 160 does not seem to be effective because our Windows build/test system in mach 5 has over 25,000 of these files.

        Attachments

          Issue Links

            Activity

              People

                serb Sergey Bylokhov
                tbell Tim Bell
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: