Skip to content

Commit

Permalink
Correct URLpermission syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Phu2 committed Sep 18, 2023
1 parent 3b589ff commit 5bf3a12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/.java.policy_move_to_home_dir
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ grant {
permission java.net.SocketPermission "localhost:1024-", "accept, listen, resolve";
permission java.net.SocketPermission "*", "accept, connect, resolve";

permission java.net.URLPermission "*", "GET:Accept";
permission java.net.URLPermission "http:*", "GET:Accept";
permission java.net.URLPermission "https:*", "GET:Accept";

permission java.net.NetPermission "getProxySelector";
};
Expand Down

0 comments on commit 5bf3a12

Please sign in to comment.