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

org.jruby.runtime.load.ClassExtensionLibrary.tryFind fails on certain classnames #3586

Closed
mkristian opened this Issue Jan 8, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@mkristian
Copy link
Member

commented Jan 8, 2016

this is a name which produces the IllegalArgumentException below: uri:classloader://gems/jruby-rack-1.1.19/lib/Jruby-rack-1.1.19Service.class. it comes from rack application with jruby-rack using jruby-9.0.4.0

java.lang.IllegalArgumentException: name
    at sun.misc.URLClassPath$Loader.findResource(URLClassPath.java:658)
    at sun.misc.URLClassPath.findResource(URLClassPath.java:188)
    at java.net.URLClassLoader$2.run(URLClassLoader.java:569)
    at java.net.URLClassLoader$2.run(URLClassLoader.java:567)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findResource(URLClassLoader.java:566)
    at org.eclipse.jetty.webapp.WebAppClassLoader.getResource(WebAppClassLoader.java:356)
    at java.lang.ClassLoader.getResource(ClassLoader.java:1088)
    at org.jruby.runtime.load.ClassExtensionLibrary.tryFind(ClassExtensionLibrary.java:80)

@mkristian mkristian self-assigned this Jan 8, 2016

@mkristian mkristian added this to the JRuby 9.0.5.0 milestone Jan 8, 2016

@mkristian mkristian closed this in 2b1eb2b Jan 8, 2016

mkristian added a commit that referenced this issue Jan 11, 2016

filter obviously wrong class-names/package-names when finding JavaExt…
…ension Service.class

fixes #3586

Sponsored by Lookout Inc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.