Hi,

Your fix look good to me.
We cannot change current behavior for backward compatibility.

Thanks,
--
Yuka

On 2016/03/04 15:51, vaibhav x.choudhary wrote:
Hello,

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;
}



Reply via email to