-
Bug
-
Resolution: Unresolved
-
P4
-
11
A DESCRIPTION OF THE PROBLEM :
After updating from JDK 11.0.8 to 11.0.9, JShell is printing out ANSI escape sequences when run from git-bash under Windows. (The problem does not occur when using Powershell or cmd.exe.) This is probably related to the update to JLine that occurred with this release.
REGRESSION : Last worked in version 11
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start JShell in a git-bash window.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expect to see the following output:
| Welcome to JShell -- Version 11.0.9
| For an introduction type: /help intro
jshell>
ACTUAL -
Actually see this output:
| Welcome to JShell -- Version 11.0.9
| For an introduction type: /help intro
←[?1h←=←[?2004h
jshell>
---------- BEGIN SOURCE ----------
(no source code necessary)
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Only workaround found so far is to use a different terminal. Note that this was not necessary with JDK 11.0.8 which did not have this problem.
FREQUENCY : always
After updating from JDK 11.0.8 to 11.0.9, JShell is printing out ANSI escape sequences when run from git-bash under Windows. (The problem does not occur when using Powershell or cmd.exe.) This is probably related to the update to JLine that occurred with this release.
REGRESSION : Last worked in version 11
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start JShell in a git-bash window.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expect to see the following output:
| Welcome to JShell -- Version 11.0.9
| For an introduction type: /help intro
jshell>
ACTUAL -
Actually see this output:
| Welcome to JShell -- Version 11.0.9
| For an introduction type: /help intro
←[?1h←=←[?2004h
jshell>
---------- BEGIN SOURCE ----------
(no source code necessary)
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Only workaround found so far is to use a different terminal. Note that this was not necessary with JDK 11.0.8 which did not have this problem.
FREQUENCY : always