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

eval to load nested jars into memory for JRubyClassLoader.addURL #3361

Open
mkristian opened this issue Sep 29, 2015 · 1 comment
Open

eval to load nested jars into memory for JRubyClassLoader.addURL #3361

mkristian opened this issue Sep 29, 2015 · 1 comment

Comments

@mkristian
Copy link
Member

ShrinkWrapClassloader allows to load jars completely in memory and attach them to URLClassLoader. this can easily used for the JRubyClassLoader for adding urls dynamically mostly via require "some.jar"

the current implementation just uses file: urls and this just works for all fancy urls (J2EE, OGSi, etc), i.e. any nested jar inside jar gets copied to /tmp and used from there.

the ShrinkWrap framework allows to copy such a jar into memory instead of the filesystem. I am not sure if it is feasible to just load all the jars into memory and use them from there.

@rtyler
Copy link

rtyler commented Sep 29, 2015

Related originally to #3352

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants