Mercurial > hg > release > icedtea8-forest-3.0 > jdk
changeset 11736:9cfd1afc506f
8146967: [TEST_BUG] javax/security/auth/SubjectDomainCombiner/Optimize.java should use 4-args ProtectionDomain constructor
Reviewed-by: mullan, valeriep
author | igerasim |
---|---|
date | Fri, 15 Jan 2016 11:49:36 +0300 |
parents | 1fc0fc5c1e75 |
children | de91f05824c5 |
files | test/javax/security/auth/SubjectDomainCombiner/Optimize.java |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/test/javax/security/auth/SubjectDomainCombiner/Optimize.java Wed Jan 13 11:28:31 2016 -0800 +++ b/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};