# HG changeset patch # User igerasim # Date 1452847776 -10800 # Node ID eb5a8165e2be4812f90f58e523b45416a541b007 # Parent a2014a07098987bdc61b2bee530caf4c55aee0a3 8146967: [TEST_BUG] javax/security/auth/SubjectDomainCombiner/Optimize.java should use 4-args ProtectionDomain constructor Reviewed-by: mullan, valeriep diff -r a2014a070989 -r eb5a8165e2be jdk/test/javax/security/auth/SubjectDomainCombiner/Optimize.java --- a/jdk/test/javax/security/auth/SubjectDomainCombiner/Optimize.java Fri Jan 15 14:33:11 2016 +0900 +++ b/jdk/test/javax/security/auth/SubjectDomainCombiner/Optimize.java Fri Jan 15 11:49:36 2016 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2015, 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 @@ -37,13 +37,16 @@ ProtectionDomain pd1 = new ProtectionDomain( new CodeSource(null, (java.security.cert.Certificate[]) null), - new Permissions()); + new Permissions(), + null, null); ProtectionDomain pd2 = new ProtectionDomain( new CodeSource(null, (java.security.cert.Certificate[]) null), - new Permissions()); + new Permissions(), + null, null); ProtectionDomain pd3 = new ProtectionDomain( new CodeSource(null, (java.security.cert.Certificate[]) null), - new Permissions()); + new Permissions(), + null, null); ProtectionDomain[] current = new ProtectionDomain[] {pd1, pd2}; ProtectionDomain[] assigned = new ProtectionDomain[] {pd3, pd2};