-
CSR
-
Resolution: Approved
-
P4
-
None
-
source
-
low
-
-
Java API
-
SE
Summary
Local testing
instance variable needs to be removed.
Problem
The class contains a testing
instance variable that should have been removed before integration. It was not. This CSR proposes removing that variable now.
Solution
Remove testing
instance variable.
Specification
diff a/src/java.base/share/classes/javax/security/auth/PrivateCredentialPermission.java b/src/java.base/share/classes/javax/security/auth/PrivateCredentialPermission.java
--- a/src/java.base/share/classes/javax/security/auth/PrivateCredentialPermission.java
+++ b/src/java.base/share/classes/javax/security/auth/PrivateCredentialPermission.java
@@ -122,15 +122,10 @@
*/
@SuppressWarnings("serial") // Not statically typed as Serializable
private Set<Principal> principals; // ignored - kept around for compatibility
private transient CredOwner[] credOwners;
- /**
- * @serial
- */
- private final boolean testing = false;
-
/**
* Create a new {@code PrivateCredentialPermission}
* with the specified {@code credentialClass} and Principals.
*/
- csr of
-
JDK-8291974 PrivateCredentialPermission should not use local variable to enable debugging
-
- Closed
-