a possible timing issue in jshell
Robert Field
robert.field at oracle.com
Wed Dec 30 03:48:53 UTC 2015
Thank you for reporting this issue. It is a known issue for which a fix
is currently is progress:
https://bugs.openjdk.java.net/browse/JDK-8131013?filter=25814
Thanks,
Robert
On 12/28/15 19:21, Yacobellis, Robert wrote:
> Greetings,
>
> I noticed that sometimes when I print to the console the printed output is intermixed with the jshell prompt. I think this might be happening because the println is running in a different process from jshell itself. I've attached a printout take from a cmd jshell execution that shows this (the System.out.println() output is intermixed with the jshell prompt). I've gotten around it by defining my own println, print, and printf functions that include a 5 ms Thread.sleep following the output - that seems to be enough time to avoid the problem.
>
> Regards,
> Bob Y.
>
More information about the kulla-dev
mailing list