[9] RFR: 8150702: change in javadoc for parseObject for MessageFormat - JDK-8073211

vaibhav x.choudhary vaibhav.x.choudhary at oracle.com
Fri Mar 4 06:51:47 UTC 2016


Please review this small fix for jdk9/dev repo :-

Bug: https://bugs.openjdk.java.net/browse/JDK-8150702
Webrev: http://cr.openjdk.java.net/~ntv/vaibhav/8150702/webrev.00/

Reason :-
MessageFormat don't throw NullPointer exception if source is null. This 
condition is explicitly handled in the code by :-

if (source == null) {
Object[] empty = {};
return empty;

Thank You,
Vaibhav Choudhary

More information about the core-libs-dev mailing list