<Sound Dev> [9] Review Request: 8178383 Validation of FileIO in the tests for JavaSound should be stricter

Sergey Bylokhov sergey.bylokhov at oracle.com
Tue Apr 11 11:30:52 UTC 2017


Hello,
Please review the fix for jdk9.

Bug: https://bugs.openjdk.java.net/browse/JDK-8178383
Webrev can be found at: http://cr.openjdk.java.net/~serb/8178383/webrev.01 <http://cr.openjdk.java.net/~serb/8178383/webrev.01>

This fix make our tests striker when the files input/output is used.
All temporary files now will be removed by Files.delete() which throws an exception if the file is locked (instead of File.deleteOnExit() and File.delete())

The updated tests found a new bug on Windows JDK-8178401[1], it was added to ProblemList.txt.
One more test were added to ProblemList.txt because I found bug [2] which is unrelated to this one, but since I updates ProblemList.txt I added it also.

Both new bugs will be fixed in jdk10 since we have RDP2 [3] in jdk9.


[1] https://bugs.openjdk.java.net/browse/JDK-8178401
[2] https://bugs.openjdk.java.net/browse/JDK-8178403 <https://bugs.openjdk.java.net/browse/JDK-8178403>
[3] http://openjdk.java.net/projects/jdk9/rdp-2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/sound-dev/attachments/20170411/cefd2c42/attachment.html>


More information about the sound-dev mailing list