forklift icon indicating copy to clipboard operation
forklift copied to clipboard

Annotation Scanning for Classes that have SubClasses

Open dcshock opened this issue 10 years ago • 2 comments

The reflections library isn't doing a good job of scanning annotations when lambdas are used in consumers because of the way the jdk builds them into subclasses. We'll need to dig a little to see if reflections is just setup wrong, or if we need a different solution for annotation scanning.

dcshock avatar Jun 15 '15 02:06 dcshock

I looked at using spring via a generic context, and I think we'd have a hard time using it do to classloader isolation. Spring's classloader bean definition scanner doesn't allow a url set to scan so it attempts to load classes that are outside the sandboxed classloader.

dcshock avatar Jun 15 '15 02:06 dcshock