Re: JEP proposed to target JDK 18: 400: UTF-8 by Default

2021-08-18 Thread Simon Nash
On 19/08/2021 07:40, Alan Bateman wrote: Yes, if there is code that really wants to use the native encoding and run of wide range of JDK releases without the using COMPAT then it can read the value of native.encoding and use Charset.defaultCharset if the property is not set. -Alan. Thanks for

Re: JEP proposed to target JDK 18: 400: UTF-8 by Default

2021-08-18 Thread Simon Nash
On 18/08/2021 20:49, Naoto Sato wrote: Hi Simon, Please post your comments at core-libs-dev mailing list, where the discussion should take place. Naoto My apologies that I am late into the discussion of this JEP. I am the developer of a fairly large application that uses file I/O extensivel

Re: RFR(M): 8201593: Print array length in ArrayIndexOutOfBoundsException.

2018-04-24 Thread Simon Nash
On 24/04/2018 15:08, Lindenmaier, Goetz wrote: Hi, I implemented what we figured out in http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2018-April/027555.html Some examples: "Index 12 out-of-bounds for length 10." "arraycopy source index -17 out of bounds for object array[10]." "ar

Re: RFR(M): 8201593: Print array length in ArrayIndexOutOfBoundsException.

2018-04-23 Thread Simon Nash
Hi Goetz, It should be "out of bounds" without hyphens. Simon On 20/04/2018 11:03, Lindenmaier, Goetz wrote: Hi David, What about this: java.lang.ArrayIndexOutOfBoundsException: Arraycopy source index -1 out-of-bounds for double[10]. java.lang.ArrayIndexOutOfBoundsException: Arraycop