< prev index next >
src/java.xml.ws/share/classes/javax/xml/soap/FactoryFinder.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -182,11 +182,11 @@
}
private static String fromJDKProperties(String factoryId, String deprecatedFactoryId) {
Path path = null;
try {
- String JAVA_HOME = System.getProperty("java.home");
+ String JAVA_HOME = getSystemProperty("java.home");
path = Paths.get(JAVA_HOME, "conf", "jaxm.properties");
logger.log(Level.FINE, "Checking configuration in {0}", path);
// to ensure backwards compatibility
if (!Files.exists(path)) {
< prev index next >