--- x 2004-04-06 07:16:36.000000000 +0200 +++ TopSecurityManager.java 2004-04-06 07:18:11.000000000 +0200 @@ -174,9 +174,28 @@ } } } + if ("netbeans.home".equals(x)) { // NOI18N + // Get rid of this old system property. + Class[] ctxt = getClassContext(); + for (int i = 0; i < ctxt.length; i++) { + Class c = ctxt[i]; + if (c != TopSecurityManager.class && + c != System.class && + c != Boolean.class) { + String n = c.getName(); + synchronized (warnedClassesNDE) { + if (warnedClassesNH.add(n)) { + System.err.println("Warning: use of system property netbeans.home in " + n + " has been obsoleted in favor of InstalledFileLocator"); // NOI18N + } + } + break; + } + } + } return; } private final Set warnedClassesNDE = new HashSet(25); // Set + private final Set warnedClassesNH = new HashSet(25); // Set /* ----------------- private methods ------------- */