JDK 9 RFR of JDK-8177640: jdk/internal/util/jar/TestVersionedStream.java fails on Windows

Amy Lu amy.lu at oracle.com
Wed Apr 5 05:31:46 UTC 2017


Please review this test-only change.

jdk/internal/util/jar/TestVersionedStream.java

This test fails on Windows platforms. Test tries to create and write 
something to the files (in test preparation method 'createFiles') for 
later comparison (in test method 'test'). The content write to the new 
created file contains path and line separator,but test does not take 
into account the platform difference.

bug: https://bugs.openjdk.java.net/browse/JDK-8177640
webrev: http://cr.openjdk.java.net/~amlu/8177640/webrev.00/

Thanks,
Amy




More information about the core-libs-dev mailing list