RFR(S): 8067471: Use private static final char[0] for empty Strings

Lev Priima lev.priima at oracle.com
Wed Dec 17 10:22:12 UTC 2014


Hi,

Please review space optimization in no args String constructor. 
Originally, it was already rejected once by suggestion in 
http://mail.openjdk.java.net/pipermail/core-libs-dev/2012-May/010300.html w/o 
formal justification of pros and contras.  And enhancement was requested 
again by Nathan Reynolds.

Issue: https://bugs.openjdk.java.net/browse/JDK-8067471
Patch: http://cr.openjdk.java.net/~lpriima/8067471/webrev.00/

-- 
Best Regards,
Lev




More information about the core-libs-dev mailing list