JDK 9 RFR of JDK-8177640: jdk/internal/util/jar/TestVersionedStream.java fails on Windows
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
On 4 Apr 2017, at 22:31, Amy Lu <amy.lu@oracle.com> wrote:
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/
+1 Paul.
participants (2)
-
Amy Lu
-
Paul Sandoz