RFR: 8154304: NullpointerException at LdapReferralException.getReferralContext

Seán Coffey sean.coffey at oracle.com
Sat Apr 16 12:16:34 UTC 2016


Thanks. Corrected copyright and pushed. 
http://hg.openjdk.java.net/jdk9/dev/jdk/rev/e2b04e57b51a

Regards,
Sean.

On 15/04/2016 15:46, Xuelei Fan wrote:
> Looks nice to me.  It would be nice to update the copyright date, too.
>
> Thanks,
> Xuelei
>
> 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