JDK 9 RFR of JDK-8177640: jdk/internal/util/jar/TestVersionedStream.java fails on Windows
Paul Sandoz
paul.sandoz at oracle.com
Wed Apr 5 16:22:49 UTC 2017
> On 4 Apr 2017, at 22:31, Amy Lu <amy.lu at 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.
More information about the core-libs-dev
mailing list