diff options
author | Thomas Watson | 2020-03-12 13:23:30 +0000 |
---|---|---|
committer | Thomas Watson | 2020-03-12 13:23:30 +0000 |
commit | 1d0941092bbedbfbfcd102f01fbe312ff2257257 (patch) | |
tree | e42e3bb39d78bdf3841d25f997e2903f45c9cc73 | |
parent | c4cab942cdbd9ec5316ae4c79973b40398bde58d (diff) | |
download | rt.equinox.framework-1d0941092bbedbfbfcd102f01fbe312ff2257257.tar.gz rt.equinox.framework-1d0941092bbedbfbfcd102f01fbe312ff2257257.tar.xz rt.equinox.framework-1d0941092bbedbfbfcd102f01fbe312ff2257257.zip |
Bug 561041 - Use workaround to avoid errors on reflecting onX20200312-1530X20200312-1210
URLClassLoader.addURL
Change-Id: I960f40c5a3a268506d7046c0f9de7d4b54873a9b
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
-rw-r--r-- | bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/FrameworkExtensionInstaller.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/FrameworkExtensionInstaller.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/FrameworkExtensionInstaller.java index bcc1da392..5737b0c98 100644 --- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/FrameworkExtensionInstaller.java +++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/FrameworkExtensionInstaller.java @@ -58,7 +58,7 @@ public class FrameworkExtensionInstaller { private static Method findAddURLMethod(ClassLoader cl, String name) { if (cl == null) return null; - return findMethod(cl.getClass(), name, new Class[] {URL.class}, null); + return findMethod(cl.getClass(), name, new Class[] { URL.class }, MultiplexingFactory.setAccessible); } private static Method findAddFilePathMethod(ClassLoader cl, String name) { |