Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.


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

Backport-of: dc46aa85c6e16cb904d1c40a4577b5e48c56a3d4
  • Loading branch information
eastig authored and Yuri Nesterenko committed Feb 24, 2022
1 parent 070f17d commit 1a1dec4
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -71,6 +71,7 @@ public static void main(String[] args) throws Exception {

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

Expand Down

1 comment on commit 1a1dec4

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.