RFR: JDK-8191636: [Windows] jshell tool: Wrong character in /env class-path command crashes jshell

Robert Field robert.field at oracle.com
Tue Dec 12 03:29:27 UTC 2017


Thumbs up!

Thanks,
Robert

On 12/11/17 10:34, Jan Lahoda wrote:
> Hi,
>
> Doing this in JShell on Windows:
> jshell> /env --class-path ?
>
> Leads to a crash, as Paths.get(...) will throw InvalidPathException on 
> Windows for path '?'. The proposed fix is to handle/catch the exception.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8191636
> Webrev: http://cr.openjdk.java.net/~jlahoda/8191636/webrev.00/
>
> How does it look?
>
> Thanks,
>     Jan



More information about the kulla-dev mailing list