RFR (JAXP) 8152530: NullPointerException when xmlns=""

Naoto Sato naoto.sato at oracle.com
Tue Oct 11 20:41:03 UTC 2016

Hi Joe,

You could use prefix.isEmpty() to check if it's an empty string. 
Otherwise looks fine to me.


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