Re: RFR: 8274784: jshell: Garbled character was displayed by System.out.println(...) on Japanese Windows

2021-11-23 Thread Ichiroh Takiguchi
On Mon, 22 Nov 2021 16:08:58 GMT, Ichiroh Takiguchi wrote: > JEP-400 was implemented by JDK18-b13. > After JDK18-b13, garbled character was displayed by following code on > Japanese Windows' command prompt. > > System.out.println("\u3042") > > Japanese "A" should be display ed, but garbled ch

RFR: 8177819: DateTimeFormatterBuilder zone parsing should recognise DST

2021-11-23 Thread Naoto Sato
This fix intends to honor the type (std/dst/generic) of parsed zone name for selecting the offset at the overlap. Corresponding CSR has also been drafted. - Commit messages: - 8177819: DateTimeFormatterBuilder zone parsing should recognise DST Changes: https://git.openjdk.java.net/

Re: RFR: 8277398: javac does not accept encoding name COMPAT

2021-11-23 Thread Jonathan Gibbons
On Fri, 19 Nov 2021 12:11:51 GMT, Alan Bateman wrote: >> ncoding name COMPAT was defined for operating system encoding by JEP-400. >> https://openjdk.java.net/jeps/400 >> But java does not accept "-encoding COMPAT". > > src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileManager.java

Re: RFR: 8274893: Update java.desktop classes to use try-with-resources [v4]

2021-11-23 Thread Andrey Turbanov
> 8274893: Update java.desktop classes to use try-with-resources Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision: 8274893: Update java.desktop classes to use try-with-resources close nested streams too to unify code -

Re: RFR: 8274893: Update java.desktop classes to use try-with-resources [v4]

2021-11-23 Thread Andrey Turbanov
On Fri, 19 Nov 2021 19:24:50 GMT, Sergey Bylokhov wrote: >> updated > > What about "new InputStreamReader()" here and below? added it to `try` too - PR: https://git.openjdk.java.net/jdk/pull/5817

Re: RFR: 8177819: DateTimeFormatterBuilder zone parsing should recognise DST [v2]

2021-11-23 Thread Naoto Sato
> This fix intends to honor the type (std/dst/generic) of parsed zone name for > selecting the offset at the overlap. Corresponding CSR has also been drafted. Naoto Sato has updated the pull request incrementally with one additional commit since the last revision: Refined wording ---

Re: RFR: 8274784: jshell: Garbled character was displayed by System.out.println(...) on Japanese Windows [v2]

2021-11-23 Thread Ichiroh Takiguchi
> JEP-400 was implemented by JDK18-b13. > After JDK18-b13, garbled character was displayed by following code on > Japanese Windows' command prompt. > > System.out.println("\u3042") > > Japanese "A" should be display ed, but garbled character was displayed. > Also saved jshell command list did no

Re: RFR: 8277398: javac does not accept encoding name COMPAT [v2]

2021-11-23 Thread Ichiroh Takiguchi
> ncoding name COMPAT was defined for operating system encoding by JEP-400. > https://openjdk.java.net/jeps/400 > But java does not accept "-encoding COMPAT". Ichiroh Takiguchi has updated the pull request incrementally with one additional commit since the last revision: 8277398: javac does no