RFR: 8223260: NamingManager should cache InitialContextFactory

Alan Bateman Alan.Bateman at oracle.com
Sun Feb 9 11:25:26 UTC 2020

On 07/02/2020 14:23, Seán Coffey wrote:
> I've introduced such a class: FactoryInitializationError
> Also added a new simple testcase method check for case where this new 
> exception would be exercised : testBadContextCall(Hashtable)
> http://cr.openjdk.java.net/~coffeys/webrev.8223260.v4/webrev/ 
> <http://cr.openjdk.java.net/%7Ecoffeys/webrev.8223260.v4/webrev/>
This version looks good to me. We might have to re-visit the strong 
reference in the CLV at some point but it should not be an issue for 
LDAP provider (which is probably the bulk of the JNDI usages these days).


More information about the core-libs-dev mailing list