Skip to content

JarLauncher configures the class path such that resources are found twice #7595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wilkinsona opened this issue Dec 8, 2016 · 2 comments
Closed
Labels
type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

JarLauncher adds the URL for the root archive to the class path of LaunchedURLClassLoader. This means that the root archive is on the class path of both LaunchedURLClassLoader and its parent (the system class loader). This results in resources being found twice when they're found via LaunchedURLClassLoader.

@baspet
Copy link

baspet commented Jan 13, 2017

moving to 1.4.3, our faces configuration broke resulting in something.jsp not found.
replacing just JarLauncher with previous one solved the problem.
any help?

@wilkinsona
Copy link
Member Author

@baspet If you believe you've found a bug, please open a new issue and provide a small sample project that reproduces the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants