Re: RFR: JDK-8167618: DateTimeFormatter.format() uses exceptions for flow control.

2016-11-16 Thread Stephen Colebourne
Yes. Stephen On 16 November 2016 at 09:08, nadeesh tv wrote: > Hi Roger &Stephen, > > Could I push the webrev? > > http://cr.openjdk.java.net/~ntv/others/anubhav/webrev.01/ > > Thanks and regards, > Nadeesh > > > On 11/7/2016 6:05 PM, Anubhav Meena wrote: > > Thanks for the review! > > Here is th

Re: RFR: JDK-8167618: DateTimeFormatter.format() uses exceptions for flow control.

2016-11-16 Thread nadeesh tv
Hi Roger &Stephen, Could I push the webrev? http://cr.openjdk.java.net/~ntv/others/anubhav/webrev.01/ Thanks and regards, Nadeesh On 11/7/2016 6:05 PM, Anubhav Meena wrote: Thanks for the review! Here is the updated webrev http:

Re: RFR: JDK-8167618: DateTimeFormatter.format() uses exceptions for flow control.

2016-11-07 Thread Stephen Colebourne
Looks good, thanks. I'm sure it will make some cases faster, I just hope it doesn't make cases that don't throw an exception significantly slower. Stephen On 7 November 2016 at 12:35, Anubhav Meena wrote: > Thanks for the review! > > Here is the updated webrev > http://cr.openjdk.java.net/~ntv/ot

Re: RFR: JDK-8167618: DateTimeFormatter.format() uses exceptions for flow control.

2016-11-07 Thread Anubhav Meena
Thanks for the review! Here is the updated webrev http://cr.openjdk.java.net/~ntv/others/anubhav/webrev.01/ -Anubhav > On Nov 2, 2016, at 4:04 PM, Stephen Colebourne wrote: > > I agree with Nadeesh, the updated code can still throw

Re: RFR: JDK-8167618: DateTimeFormatter.format() uses exceptions for flow control.

2016-11-02 Thread Stephen Colebourne
I agree with Nadeesh, the updated code can still throw DateTimeException from the call to getLong(). Unlike before, this DateTimeException is desired. Stephen On 28 October 2016 at 16:58, nadeesh tv wrote: > > Hi Anubhav, > > > - * @throws DateTimeException if the field is not available and

Re: RFR: JDK-8167618: DateTimeFormatter.format() uses exceptions for flow control.

2016-10-28 Thread Roger Riggs
+1, Roger On 10/28/2016 11:58 AM, nadeesh tv wrote: Hi Anubhav, - * @throws DateTimeException if the field is not available and the section is not optional I think you should not remove the DTException since still there is a chance of throwing DTE Regards, Nadeesh On 10/28/2016 12

Re: RFR: JDK-8167618: DateTimeFormatter.format() uses exceptions for flow control.

2016-10-28 Thread nadeesh tv
Hi Anubhav, - * @throws DateTimeException if the field is not available and the section is not optional I think you should not remove the DTException since still there is a chance of throwing DTE Regards, Nadeesh On 10/28/2016 12:18 AM, Anubhav Meena wrote: Hi all, Please review. Ple

RFR: JDK-8167618: DateTimeFormatter.format() uses exceptions for flow control.

2016-10-28 Thread Anubhav Meena
Hi all, Please review. Please ignore last mail as links not working properly there. Bug Id : https://bugs.openjdk.java.net/browse/JDK-8167618 Issue: DateTimeFormatter.format() uses exceptions for flow control. Webrev: http://cr.openjdk.java.net

RFR: JDK-8167618: DateTimeFormatter.format() uses exceptions for flow control.

2016-10-28 Thread Anubhav Meena
Hi all, Please review. Bug Id : https://bugs.openjdk.java.net/browse/JDK-8167618 Issue: DateTimeFormatter.format() uses exceptions for flow control. Webrev: http://cr.openjdk.java.net/~rchamyal/anmeena/8167618/webrev.00/