jdk/src/java.base/share/classes/java/security/Permissions.java
changeset 31538 0981099a3e54
parent 31080 00a25f4c4d44
child 45434 4582657c7260
equal deleted inserted replaced
31537:704fd18b5be1 31538:0981099a3e54
   287 
   287 
   288         // we have no unresolved permissions of this type if unresolvedPerms is null
   288         // we have no unresolved permissions of this type if unresolvedPerms is null
   289         if (unresolvedPerms == null)
   289         if (unresolvedPerms == null)
   290             return null;
   290             return null;
   291 
   291 
   292         java.security.cert.Certificate certs[] = null;
   292         java.security.cert.Certificate[] certs = null;
   293 
   293 
   294         Object signers[] = p.getClass().getSigners();
   294         Object[] signers = p.getClass().getSigners();
   295 
   295 
   296         int n = 0;
   296         int n = 0;
   297         if (signers != null) {
   297         if (signers != null) {
   298             for (int j=0; j < signers.length; j++) {
   298             for (int j=0; j < signers.length; j++) {
   299                 if (signers[j] instanceof java.security.cert.Certificate) {
   299                 if (signers[j] instanceof java.security.cert.Certificate) {