Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-ui-dev] possible to get the class loader used for loading a specific class ?

Hey,

Anyone know if possible for a source lookup participant to somehow
get access to the Classloader used to load class source is needed for
when debugging ?

i.e. would like so somehow get to `getProtectionDomain().getCodeSource().getLocation()`
to find location of dynamically loaded classes so users do not need
to manually add the source.

With the code source info I can introspect the jar to locate the source for it.

Any suggestions on how/if that is possible ?

/max
http://about.me/maxandersen


Back to the top