RFR (JAXP) 8152530: NullPointerException when xmlns=""
Joe Wang
huizhe.wang at oracle.com
Tue Oct 11 21:32:04 UTC 2016
Thanks Daniel, Naoto!
Changed to use prefix.isEmpty().
-Joe
On 10/11/16, 1:41 PM, Naoto Sato wrote:
> Hi Joe,
>
> You could use prefix.isEmpty() to check if it's an empty string.
> Otherwise looks fine to me.
>
> Naoto
>
> On 10/11/16 1:29 PM, Joe Wang wrote:
>> Hi,
>>
>> Please review a fix for a NPE when the source contains empty namespace.
>>
>> JBS: https://bugs.openjdk.java.net/browse/JDK-8152530
>> webrev: http://cr.openjdk.java.net/~joehw/jdk9/8152530/webrev/
>>
>> Thanks,
>> Joe
More information about the core-libs-dev
mailing list