RFR JDK-8062759: Update test/javax/naming/spi/providers/InitialContextTest.java to use classpath

Pavel Rappo pavel.rappo at oracle.com
Tue Nov 4 17:10:32 UTC 2014

Hi everyone,

Could you please review my change for JDK-8062759?


P.S. The actual change is located at lines [215, 219]. Everything else is just a minor refactoring.

P.P.S. I decided that existing check (InitialContextTest.verifyOutput) of the output for traces of "ServiceLoader" is good enough to verify that in the 'initialContextFactoryAsService' scenario JNDI provider is loaded by ServiceLoader rather than by VersionHelper.loadClass 


More information about the core-libs-dev mailing list