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
Member

mkristian 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