--- a/jdk/src/share/classes/java/security/ProtectionDomain.java Fri Jan 07 21:02:58 2011 +0000
+++ b/jdk/src/share/classes/java/security/ProtectionDomain.java Fri Jan 07 15:39:58 2011 -0800
@@ -336,8 +336,8 @@
int swag = 32;
int vcap = 8;
Enumeration<Permission> e;
- List<Permission> pdVector = new ArrayList<Permission>(vcap);
- List<Permission> plVector = new ArrayList<Permission>(swag);
+ List<Permission> pdVector = new ArrayList<>(vcap);
+ List<Permission> plVector = new ArrayList<>(swag);
//
// Build a vector of domain permissions for subsequent merge