JDK-8196298: Add null Reader and Writer

2018-01-27 Thread Patrick Reinhart
Hi there, I saw that great extension on InputStream/OutputStream adding a Null implementation there. Based on those I would propose a similar addition to the Reader/Writer. -Patrick Here is what the API would look like based on the existing from InputStream/OutputStream:     /** * Return

Optimizing UUID#fromString(String)

2018-01-27 Thread Jon Chambers
Hello! I've recently had reason to take a look at performance around parsing and stringifying UUIDs. In exploring the space, I identified some opportunities to optimize the implementation of UUID#fromString as it currently exists ( http://hg.openjdk.java.net/jdk/jdk/file/fd237da7a113/src/java.base

RFR JDK-8194412 : Adding 256 units of IsoFields.QUARTER_YEARS broken

2018-01-27 Thread Ivan Gerasimov
Hello! It was spotted that adding more then 255 quarter-years to a Temporal leads to a wrong result. BUGURL: https://bugs.openjdk.java.net/browse/JDK-8194412 WEBREV: http://cr.openjdk.java.net/~igerasim/8194412/00/webrev/ Would you please take a look at the fix and see that I'm not missing s

Re: Optimizing UUID#fromString(String)

2018-01-27 Thread Roger Riggs
Hi Jon, Promising based on the cited performance improvements. Can you review a similar thread and improvements from 2013 to see if there are secondary considerations that have already been raised. http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-January/013494.html Please include th