Names expressed in Unicode are converted. Which, probably depending on locale, means they may be represented with '?' characters.
Should input match output? That is,
jshell> class \u00aa {}
| created class ?
jshell> class \u00ba extends \u00aa {}
| created class ?
Should this be:
jshell> class \u00aa {}
| created class \u00aa
jshell> class \u00ba extends \u00aa {}
| created class \u00ba
There is code in Eval in support of this (userReadableName()).
Should input match output? That is,
jshell> class \u00aa {}
| created class ?
jshell> class \u00ba extends \u00aa {}
| created class ?
Should this be:
jshell> class \u00aa {}
| created class \u00aa
jshell> class \u00ba extends \u00aa {}
| created class \u00ba
There is code in Eval in support of this (userReadableName()).
- relates to
-
JDK-8249197 JShell: variable declaration with unicode type name gets garbled result
- Resolved
-
JDK-8248157 JShell: throws AssertionError when creating a variable with some unicode chars
- Closed