Skip to content

Loading extensions in static inner classes from shaded JAR files #229

Answered by xvik
tinkerware asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

Could you please better describe your issue: is it exception during classpath scan or inner class gets resolved as an extension or an opposite (extension not recognized)?
Small example would also be helpful (to understand what kind of path was accepted (or not))

As a general rule I always propose to use classpath scan only on classes in the current project (simply because it's faster for development). If something moved to external jar (module) it's better to register such extensions manually with a bundle (when custom bundle inclusion is possible). Still, just a recommendation, not a requirement.

Will be able to tell more with new details

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@tinkerware
Comment options

@xvik
Comment options

@xvik
Comment options

@xvik
Comment options

Answer selected by tinkerware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants