RFR: Update code in java.lang to use new language features

Paul Sandoz paul.sandoz at oracle.com
Fri Jan 24 17:10:15 UTC 2014

Hi Joe, Alan,

Many thanks! Before folding/committing i will kick off a JPRT job (if i can get it to work on 9!)


BTW if one uses IntelliJ it is very easy to make such changes, review and tweak them. Select menu item "Analyze -> Run Inspection By Name..". and type in "migration". Hint hint for anyone else who wants to have a go on other packages :-)


On Jan 24, 2014, at 6:02 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> On 24/01/2014 14:45, Paul Sandoz wrote:
>> --
>> http://cr.openjdk.java.net/~psandoz/jdk9/java.lang-StringBuilder/
>> --
>> http://cr.openjdk.java.net/~psandoz/jdk9/java.lang-collapse-catches/
>> --
>> http://cr.openjdk.java.net/~psandoz/jdk9/java.lang-boxing/
> I looked through the StringBuilder, multi-catch and the improvement to ConditionalSpecialCasing's initializer. Looks okay to me.
> -Alan.

More information about the core-libs-dev mailing list