Skip to content
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

Classloader issue when overiding RMIClassloader with 1.4.x #7536

Closed
jschmied opened this issue Nov 30, 2016 · 1 comment
Closed

Classloader issue when overiding RMIClassloader with 1.4.x #7536

jschmied opened this issue Nov 30, 2016 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@jschmied
Copy link

Hi!

I use a overriden RMIClassloader. It was working fine with Spring boot 1.3.x.

It puts a file into:
META-INF/services/java.rmi.server.RMIClassLoaderSpi
this file goes in in the fat jar in the root META-INF.

The class end up inside the application classes and is invisible for the system classloader.
If I put the class file manually along the org\springframework\boot\loader\ it works.

I understand, its not possible to make application classes visible to the system classloader (and this issue is similar to the problem with custom CharsetProvider).

Is it possible to modify the build process to put abitary classes or jar files (exploded) along the loader classes?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 30, 2016
@wilkinsona
Copy link
Member

Duplicates #6626

@wilkinsona wilkinsona added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants