diff options
author | Mykola Nikishov | 2019-05-13 09:43:21 +0000 |
---|---|---|
committer | Mykola Nikishov | 2019-05-14 16:58:56 +0000 |
commit | 79b28df3f0c7b68970e2fe6bc9eddddab436df4f (patch) | |
tree | 5a33d6f3546b5f115ace8819c836046147257896 /bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/signedcontent/SignedBundleHook.java | |
parent | ad50f2e8ccbef7ce82fe7ed343d2ae194575f687 (diff) | |
download | rt.equinox.framework-79b28df3f0c7b68970e2fe6bc9eddddab436df4f.tar.gz rt.equinox.framework-79b28df3f0c7b68970e2fe6bc9eddddab436df4f.tar.xz rt.equinox.framework-79b28df3f0c7b68970e2fe6bc9eddddab436df4f.zip |
Bug 547265 - Fine-grained merging properties in launcher's MainI20190515-0205
Merging configuration and extension properties with system properties
in mergeProperties uses System's getProperties and
requires ("java.util.PropertyPermission" "*" "read,write") permission
even if we are not actually going to modify any of these.
Instead, use more fine-grained approach and set individual properties
explicitly with System's setProperty. If/when AccessControlException
occurs, it would provide more specific error message like:
java.security.AccessControlException: access denied ("java.util.PropertyPermission" "eclipse.exitcode" "write")
Also rename mergeProperties to mergeWithSystemProperties.
Change-Id: I46bb6d539c58cc3dcff3a70dc2dc8544fc0ea7db
Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
Diffstat (limited to 'bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/signedcontent/SignedBundleHook.java')
0 files changed, 0 insertions, 0 deletions