[jdk11u-dev] RFR: 8267459: Pasting Unicode characters into JShell does not work.

Ichiroh Takiguchi itakiguchi at openjdk.java.net
Mon Jul 19 01:16:17 UTC 2021


Hello

Original bug:
  https://bugs.openjdk.java.net/browse/JDK-8267459
  https://github.com/openjdk/jdk/commit/de6472c44166e57cd440b7bffcfc876585aca7dd
 
Original patch does not apply cleanly to 11u, because [8267459](https://bugs.openjdk.java.net/browse/JDK-8267459) requires following order
 [8241950](https://bugs.openjdk.java.net/browse/JDK-8241950): JShell could support auto-indent
 [8247932](https://bugs.openjdk.java.net/browse/JDK-8247932): JShell crashes when typing text block
 [8247403](https://bugs.openjdk.java.net/browse/JDK-8247403): JShell: No custom input (e.g. from GUI) possible with JavaShellToolBuilder
 [8267459](https://bugs.openjdk.java.net/browse/JDK-8267459): Pasting Unicode characters into JShell does not work

 [8241950](https://bugs.openjdk.java.net/browse/JDK-8241950) and [8247932](https://bugs.openjdk.java.net/browse/JDK-8247932) are enhancement code including "Text Blocks" which is not supported by JDK11.
 [8247403](https://bugs.openjdk.java.net/browse/JDK-8247403) and  [8267459](https://bugs.openjdk.java.net/browse/JDK-8267459) are ported to 11.0.13-oracle.
But I could not recreate [8247403](https://bugs.openjdk.java.net/browse/JDK-8247403) by myself.
So I'd like to just send backport for  [8267459](https://bugs.openjdk.java.net/browse/JDK-8267459).

I need to change test/langtools/jdk/jshell/UITesting.java.
Because following code was added by  [8247403](https://bugs.openjdk.java.net/browse/JDK-8247403).

import java.lang.reflect.Field;


Testing: tier1 and tier2 were passed
 
Thanks,

-------------

Commit messages:
 - Backport de6472c44166e57cd440b7bffcfc876585aca7dd

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/139/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=139&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267459
  Stats: 36 lines in 3 files changed: 32 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/139.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/139/head:pull/139

PR: https://git.openjdk.java.net/jdk11u-dev/pull/139


More information about the jdk-updates-dev mailing list