src/java.xml/share/classes/javax/xml/xpath/XPathFactoryFinder.java
Print this page
*** 174,186 ****
}
}
String javah = ss.getSystemProperty( "java.home" );
String configFile = javah + File.separator +
! "conf" + File.separator + "jaxp.properties";
! // try to read from $java.home/conf/jaxp.properties
try {
if(firstTime){
synchronized(cacheProps){
if(firstTime){
File f=new File( configFile );
--- 174,186 ----
}
}
String javah = ss.getSystemProperty( "java.home" );
String configFile = javah + File.separator +
! "lib" + File.separator + "jaxp.properties";
! // try to read from $java.home/lib/jaxp.properties
try {
if(firstTime){
synchronized(cacheProps){
if(firstTime){
File f=new File( configFile );
*** 191,201 ****
}
}
}
}
final String factoryClassName = cacheProps.getProperty(propertyName);
! debugPrintln("found " + factoryClassName + " in $java.home/conf/jaxp.properties");
if (factoryClassName != null) {
xpathFactory = createInstance(factoryClassName, true);
if(xpathFactory != null){
return xpathFactory;
--- 191,201 ----
}
}
}
}
final String factoryClassName = cacheProps.getProperty(propertyName);
! debugPrintln("found " + factoryClassName + " in $java.home/jaxp.properties");
if (factoryClassName != null) {
xpathFactory = createInstance(factoryClassName, true);
if(xpathFactory != null){
return xpathFactory;