Skip to content

Commit

Permalink
Fix native library linking permission rejects JDK internal usage
Browse files Browse the repository at this point in the history
Always deny breaks the network testing on Linux systems, so only allow
whitelisted callers.
  • Loading branch information
MaisiKoleni committed Feb 10, 2023
1 parent 365c701 commit c346352
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public void checkLink(String lib) {
try {
if (enterPublicInterface())
return;
throw new SecurityException(localized("security.error_link")); //$NON-NLS-1$
checkForNonWhitelistedStackFrames(() -> localized("security.error_link")); //$NON-NLS-1$
} finally {
exitPublicInterface();
}
Expand Down

0 comments on commit c346352

Please sign in to comment.