# HG changeset patch # User mullan # Date 1355322324 18000 # Node ID 2ed01c760aea2e4b174e2b9433fce3c1a94e4b41 # Parent dc1a2233ac21ad88b546af98ae4a28ea20d8feb3 8004064: Downgrade normative references to ${java.home}/lib/security/java.security Reviewed-by: alanb, vinnie, xuelei diff -r dc1a2233ac21 -r 2ed01c760aea jdk/src/share/classes/com/sun/net/ssl/KeyManagerFactory.java --- a/jdk/src/share/classes/com/sun/net/ssl/KeyManagerFactory.java Thu Nov 29 17:03:52 2012 +0000 +++ b/jdk/src/share/classes/com/sun/net/ssl/KeyManagerFactory.java Wed Dec 12 09:25:24 2012 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2012, 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 @@ -53,12 +53,13 @@ /** *
The default KeyManager can be changed by setting the value of the - * "sun.ssl.keymanager.type" security property (in the Java security - * properties file) to the desired name. + * {@code sun.ssl.keymanager.type} security property to the desired name. * - * @return the default type as specified in the - * Java security properties file, or an implementation-specific default - * if no such property exists. + * @return the default type as specified by the + * {@code sun.ssl.keymanager.type} security property, or an + * implementation-specific default if no such property exists. + * + * @see java.security.Security security properties */ public final static String getDefaultAlgorithm() { String type; diff -r dc1a2233ac21 -r 2ed01c760aea jdk/src/share/classes/com/sun/net/ssl/TrustManagerFactory.java --- a/jdk/src/share/classes/com/sun/net/ssl/TrustManagerFactory.java Thu Nov 29 17:03:52 2012 +0000 +++ b/jdk/src/share/classes/com/sun/net/ssl/TrustManagerFactory.java Wed Dec 12 09:25:24 2012 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2012, 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 @@ -53,12 +53,13 @@ /** *
The default TrustManager can be changed by setting the value of the - * "sun.ssl.trustmanager.type" security property - * (in the Java security properties file) to the desired name. + * {@code sun.ssl.trustmanager.type} security property to the desired name. * - * @return the default type as specified in the - * Java security properties file, or an implementation-specific default - * if no such property exists. + * @return the default type as specified by the + * {@code sun.ssl.trustmanager.type} security property, or an + * implementation-specific default if no such property exists. + * + * @see java.security.Security security properties */ public final static String getDefaultAlgorithm() { String type; diff -r dc1a2233ac21 -r 2ed01c760aea jdk/src/share/classes/com/sun/security/auth/PolicyFile.java --- a/jdk/src/share/classes/com/sun/security/auth/PolicyFile.java Thu Nov 29 17:03:52 2012 +0000 +++ b/jdk/src/share/classes/com/sun/security/auth/PolicyFile.java Wed Dec 12 09:25:24 2012 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2012, 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 @@ -59,13 +59,9 @@ * *
java.security.Security
properties,
+ * Loop through the security properties,
* auth.policy.url.1, auth.policy.url.2, ...,
- * auth.policy.url.X". These properties are set
- * in the Java security properties file, which is located in the file named
- * <JAVA_HOME>/lib/security/java.security.
- * <JAVA_HOME> refers to the value of the java.home system property,
- * and specifies the directory where the JRE is installed.
+ * auth.policy.url.X".
* Each property value specifies a URL
pointing to a
* policy file to be loaded. Read in and load each policy.
*
@@ -235,6 +231,7 @@
* @see java.security.CodeSource
* @see java.security.Permissions
* @see java.security.ProtectionDomain
+ * @see java.security.Security security properties
*/
@Deprecated
public class PolicyFile extends javax.security.auth.Policy {
diff -r dc1a2233ac21 -r 2ed01c760aea jdk/src/share/classes/com/sun/security/auth/login/ConfigFile.java
--- a/jdk/src/share/classes/com/sun/security/auth/login/ConfigFile.java Thu Nov 29 17:03:52 2012 +0000
+++ b/jdk/src/share/classes/com/sun/security/auth/login/ConfigFile.java Wed Dec 12 09:25:24 2012 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2012, 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
@@ -49,13 +49,9 @@
*
* java.security.Security
properties,
+ * Loop through the security properties,
* login.config.url.1, login.config.url.2, ...,
- * login.config.url.X. These properties are set
- * in the Java security properties file, which is located in the file named
- * <JAVA_HOME>/lib/security/java.security.
- * <JAVA_HOME> refers to the value of the java.home system property,
- * and specifies the directory where the JRE is installed.
+ * login.config.url.X.
* Each property value specifies a URL
pointing to a
* login configuration file to be loaded. Read in and load
* each configuration.
@@ -87,6 +83,7 @@
* javax.security.auth.login.Configuration
class.
*
* @see javax.security.auth.login.LoginContext
+ * @see java.security.Security security properties
*/
public class ConfigFile extends javax.security.auth.login.Configuration {
diff -r dc1a2233ac21 -r 2ed01c760aea jdk/src/share/classes/java/net/doc-files/net-properties.html
--- a/jdk/src/share/classes/java/net/doc-files/net-properties.html Thu Nov 29 17:03:52 2012 +0000
+++ b/jdk/src/share/classes/java/net/doc-files/net-properties.html Wed Dec 12 09:25:24 2012 -0500
@@ -1,5 +1,5 @@