--- a/jdk/src/java.naming/share/classes/com/sun/naming/internal/ResourceManager.java Tue Nov 18 15:25:16 2014 -0800
+++ b/jdk/src/java.naming/share/classes/com/sun/naming/internal/ResourceManager.java Wed Dec 03 14:22:58 2014 +0000
@@ -60,9 +60,9 @@
private static final String APP_RESOURCE_FILE_NAME = "jndi.properties";
/*
- * Name of properties file in <java.home>/lib.
+ * Name of properties file in <java.home>/conf.
*/
- private static final String JRELIB_PROPERTY_FILE_NAME = "jndi.properties";
+ private static final String JRE_CONF_PROPERTY_FILE_NAME = "jndi.properties";
/*
* Internal environment property, that when set to "true", disables
@@ -474,7 +474,7 @@
/*
* Returns the Hashtable (never null) that results from merging
* all application resource files available to this thread's
- * context class loader. The properties file in <java.home>/lib
+ * context class loader. The properties file in <java.home>/conf
* is also merged in. The results are cached.
*
* SECURITY NOTES:
@@ -523,9 +523,9 @@
}
}
- // Merge in properties from file in <java.home>/lib.
+ // Merge in properties from file in <java.home>/conf.
InputStream istream =
- helper.getJavaHomeLibStream(JRELIB_PROPERTY_FILE_NAME);
+ helper.getJavaHomeConfStream(JRE_CONF_PROPERTY_FILE_NAME);
if (istream != null) {
try {
Properties props = new Properties();