Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix access-denied exceptions from getResource or ResourceBundle.getBundle #323

Merged
merged 3 commits into from
Oct 27, 2020

Conversation

jcflack
Copy link
Contributor

@jcflack jcflack commented Oct 27, 2020

PL/Java's class loader has historically handled resource lookups by returning a URL that has a custom URLStreamHandler wired in. Permission to do that wasn't included in the pljava.policy shipped with 1.6.0. Fix that. Addresses #322.

Still does not get closer to fixing #266, but at least avoids making it worse.

PL/Java's class loader has historically handled resource lookups
by returning a URL that has a custom URLStreamHandler wired in.
Permission to do that wasn't included in the pljava.policy shipped
with 1.6.0. Fix that. Addresses #322.

Still does not get closer to fixing #266, but at least avoids
making it worse.
This reads the same property file as the earlier test,
but using a different mechanism.
@jcflack jcflack merged commit 8a61323 into REL1_6_STABLE Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant