Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8261534: Test sun/security/pkcs11/KeyAgreement/IllegalPackageAccess.j…
…ava fails on platforms where no nsslib artifacts are defined

Reviewed-by: mbaesken
  • Loading branch information
RealCLanger committed Feb 12, 2021
1 parent f0d9829 commit dc46aa8
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -71,6 +71,7 @@ public static void main(String[] args) throws Exception {

@Override
public void main(Provider p) throws Exception {
Policy.setPolicy(null);
Policy.setPolicy(new MyPolicy());
System.setSecurityManager(new SecurityManager());

Expand Down

1 comment on commit dc46aa8

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.