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

Yuka Kamiya yuka.kamiya at oracle.com
Wed Mar 9 08:02:08 UTC 2016


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




More information about the core-libs-dev mailing list