Re: RFR: 8194154: JDK crashes parsing path string contains '//' on linux

2018-02-18 Thread yumin qi
Thanks! I need a sponsor for pushing it to jdk. Can you or someone else help to push it? Yumin On Fri, Feb 16, 2018 at 11:45 PM, Alan Bateman wrote: > On 16/02/2018 20:35, yumin qi wrote: > > : > >> >> Updated bug, and update webrev at same link: > http://cr.openjdk.java.net/~minqi/8194154/we

Re: Thread.interrupted() spec is confusing

2018-02-18 Thread Martin Buchholz
One can understand the desire to keep the spec wording between Thread.interrupted and Thread.isInterrupted consistent, but we can probably improve by @linkplain-ifying "alive" and adding the word "yet". On Sun, Feb 18, 2018 at 10:16 AM, Alan Bateman wrote: > On 18/02/2018 10:17, Tagir Valeev wro

Re: RFR: 8197594 - String and character repeat

2018-02-18 Thread Xueming Shen
On 2/18/18, 11:19 AM, Martin Buchholz wrote: On Sun, Feb 18, 2018 at 1:37 AM, James Laskey wrote: Didn’t I hear someone mentioning “\U1D11A” at some point? Unicode codepoint escapes are still Not a Thing, apparently. Yes, it's a language feature, but an easy one to implement. Except for the u

Re: RFR: 8197594 - String and character repeat

2018-02-18 Thread Martin Buchholz
On Sun, Feb 18, 2018 at 1:37 AM, James Laskey wrote: > Didn’t I hear someone mentioning “\U1D11A” at some point? > Unicode codepoint escapes are still Not a Thing, apparently. Yes, it's a language feature, but an easy one to implement. Except for the usual bikeshedding about syntax - include th

Re: Thread.interrupted() spec is confusing

2018-02-18 Thread Alan Bateman
On 18/02/2018 10:17, Tagir Valeev wrote: Hello! A Thread.interrupted() static method (not to be confused with Thread.isInterrupted() instance method) spec states: * * A thr

Re: RFR: 8197594 - String and character repeat

2018-02-18 Thread Ulf Zibis
Am 18.02.2018 um 06:10 schrieb Stuart Marks: Fair enough. I'll be less unhappy if there is a way to convert from a code point to a String, as requested by JDK-4993841. This will reduce new String(Character.toChars(codepoint)).repeat(count) to Character.toString(codepoint).repeat(cou

Thread.interrupted() spec is confusing

2018-02-18 Thread Tagir Valeev
Hello! A Thread.interrupted() static method (not to be confused with Thread.isInterrupted() instance method) spec states: * * A thread interruption ignored because a thread was

Re: RFR: 8197594 - String and character repeat

2018-02-18 Thread James Laskey
Didn’t I hear someone mentioning “\U1D11A” at some point? Sent from my iPhone > On Feb 18, 2018, at 1:10 AM, Stuart Marks wrote: > > Fair enough. I'll be less unhappy if there is a way to convert from a code > point to a String, as requested by JDK-4993841. This will reduce > >new String(

Re: [JDK-6341887] Patch: java.util.zip: Add ByteBuffer methods to Inflater/Deflater

2018-02-18 Thread Alan Bateman
On 16/02/2018 22:13, David Lloyd wrote: It would be convenient to be able to inflate/deflate a direct or heap byte buffer without having to copy it through an array first. For my Friday mini-project this week, I've decided to take a crack at this. The attached patch is the result. Would anyone