RFR: 8154304: NullpointerException at LdapReferralException.getReferralContext

Xuelei Fan xuelei.fan at oracle.com
Fri Apr 15 14:46:12 UTC 2016

Looks nice to me.  It would be nice to update the copyright date, too.


On 4/15/2016 10:13 PM, Seán Coffey wrote:
> I need to correct another issue related to JDK-8149450. If a
> getReferralContext call is made on a ReferralContext that doesn't
> contain any referrals (URI fields) then a null scenario is possible.
> There's a question mark around how compliant the LDAP BER response is
> but I'd like the JDK to handle the NPE and communicate back by throwing
> NamingException :
> bug ID :https://bugs.openjdk.java.net/browse/JDK-8154304
> webrev : http://cr.openjdk.java.net/~coffeys/webrev.8154304.jdk9/webrev/
> -- 
> Regards,
> Sean.

More information about the core-libs-dev mailing list