Skip to content

Conversation

jeffgran
Copy link

In certain contexts, java will throw an exception if you try to read an "unsafe" system property. Jruby already has a mechanism to safely try to read them and fail silently if it won't work. This just updates jruby-openssl to use that same safety mechanism.

fixes #27

@jeffgran
Copy link
Author

#27

kares added a commit that referenced this pull request Feb 18, 2015
use SafePropertyAccessor to access properties instead of directly
@kares kares merged commit a3e207d into jruby:master Feb 18, 2015
@kares
Copy link
Member

kares commented Feb 18, 2015

looking good, thank you!

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.

System.getProperty fails in security-sensitive environments (like launching via java webstart)
2 participants