RFR: 8154304: NullpointerException at LdapReferralException.getReferralContext

Seán Coffey sean.coffey at oracle.com
Fri Apr 15 14:13:39 UTC 2016

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/


More information about the core-libs-dev mailing list