RFR: 8183021: Fix failing jshell tests on Windows
Robert Field
robert.field at oracle.com
Tue Jun 27 18:29:59 UTC 2017
Looks fine.
We seem to have a general issue of not using platform line ending, I've
created:
https://bugs.openjdk.java.net/browse/JDK-8183022
-Robert
On 06/27/17 10:49, Jan Lahoda wrote:
> Hi,
>
> Two JShell tests are failing on Win:
> -jdk/jshell/ToolBasicTest.java, seems that
> System.getProperty("user.home") may return forward slashes, but the
> tests expects the canonical backward slash. The proposed solution is
> to normalize the path using Paths.get(...).
> -jdk/jshell/ToolMultilineSnippetHistoryTest.java, seems JShellTool
> prints \n, while the test expects \r\n. The proposed solution is to
> change the relevant place in JShellTool to use println to improve
> testability.
>
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8183021
>
> Webrev:
> http://cr.openjdk.java.net/~jlahoda/8183021/webrev.00/
>
> Thanks,
> Jan
More information about the kulla-dev
mailing list