Review needed for 7036251, clarification to SQLPermission Constructors
Lance Andersen - Oracle
Lance.Andersen at oracle.com
Wed Apr 13 14:18:51 UTC 2011
HI all,
Need a reviewer for this minor update to the SQLPermission constructors which I missed when I added the updates for the new permission target names.
Thank you.
Regards,
Lance
hg diff
diff -r 0bae251b548b src/share/classes/java/sql/SQLPermission.java
--- a/src/share/classes/java/sql/SQLPermission.java Tue Apr 12 14:32:03 2011 -0400
+++ b/src/share/classes/java/sql/SQLPermission.java Tue Apr 12 15:42:16 2011 -0400
@@ -116,11 +116,11 @@
/**
* Creates a new <code>SQLPermission</code> object with the specified name.
- * The name is the symbolic name of the <code>SQLPermission</code>; currently,
- * the only name allowed is "setLog".
+ * The name is the symbolic name of the <code>SQLPermission</code>.
*
* @param name the name of this <code>SQLPermission</code> object, which must
- * be <code>setLog</code>
+ * be either {@code setLog}, {@code callAbort}, {@code setSyncFactory},
+ * or {@code setNetworkTimeout}
* @throws NullPointerException if <code>name</code> is <code>null</code>.
* @throws IllegalArgumentException if <code>name</code> is empty.
@@ -134,10 +134,11 @@
* Creates a new <code>SQLPermission</code> object with the specified name.
* The name is the symbolic name of the <code>SQLPermission</code>; the
* actions <code>String</code> is currently unused and should be
- * <code>null</code>.
+ * <code>null</code>.
*
* @param name the name of this <code>SQLPermission</code> object, which must
- * be <code>setLog</code>
+ * be either {@code setLog}, {@code callAbort}, {@code setSyncFactory},
+ * or {@code setNetworkTimeout}
* @param actions should be <code>null</code>
* @throws NullPointerException if <code>name</code> is <code>null</code>.
* @throws IllegalArgumentException if <code>name</code> is empty.
Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com
More information about the core-libs-dev
mailing list