D
DeMarcus
Hi,
I want to do a simple plugin interface so programmers
can easily write their own plugins to my software.
However, when I use URLClassLoader to load a class
that shall represent the plugin it seems that there
are a lot of security constraints that makes the
plugin limited.
For instance I can't have inner classes in the plugin,
because that gives me an IllegalAccessError. I tried
to avoid that by calling the methods of the plugins
with means of doPrivileged(), but it didn't help.
How can I be back to normal programming again despite
I'm using URLClassLoader?
Thanks
Daniel
I want to do a simple plugin interface so programmers
can easily write their own plugins to my software.
However, when I use URLClassLoader to load a class
that shall represent the plugin it seems that there
are a lot of security constraints that makes the
plugin limited.
For instance I can't have inner classes in the plugin,
because that gives me an IllegalAccessError. I tried
to avoid that by calling the methods of the plugins
with means of doPrivileged(), but it didn't help.
How can I be back to normal programming again despite
I'm using URLClassLoader?
Thanks
Daniel