< prev index next >
src/java.base/share/classes/sun/security/provider/PolicyFile.java
Print this page
rev 58428 : [mq]: XXXXXXX-typos
*** 298,308 ****
*
* See the class description for details on the algorithm used to
* initialize the Policy object.
*/
private void init(URL url) {
! // Properties are set once for each init(); ignore changes between
// between diff invocations of initPolicyFile(policy, url, info).
String numCacheStr =
AccessController.doPrivileged(new PrivilegedAction<>() {
@Override
public String run() {
--- 298,308 ----
*
* See the class description for details on the algorithm used to
* initialize the Policy object.
*/
private void init(URL url) {
! // Properties are set once for each init(); ignore changes
// between diff invocations of initPolicyFile(policy, url, info).
String numCacheStr =
AccessController.doPrivileged(new PrivilegedAction<>() {
@Override
public String run() {
*** 323,333 ****
numCaches = DEFAULT_CACHE_SIZE;
}
} else {
numCaches = DEFAULT_CACHE_SIZE;
}
- // System.out.println("number caches=" + numCaches);
PolicyInfo newInfo = new PolicyInfo(numCaches);
initPolicyFile(newInfo, url);
policyInfo = newInfo;
}
--- 323,332 ----
< prev index next >