Posted on 2008-02-11 18:58:10-08 by patl in response to 7075
Re: Class not found when CLASSPATH option contains '#'
It's a bug in Inline::Java. Here's a quick patch for you:
Index: Java/sources/org/perl/inline/java/InlineJavaUserClassLoader.java =================================================================== RCS file: /cvsroot/inline-java/Inline-Java/Java/sources/org/perl/inline/java/InlineJavaUserClassLoa +der.java,v retrieving revision 1.2 diff -r1.2 InlineJavaUserClassLoader.java 36c36 < URL u = p.toURL() ; --- > URL u = p.toURI().toURL() ;
Basically the code uses a URLClassLoader and the path added is not properly escaped. I'll try and get that fixed in the next release. Patrick
Direct Responses: 7083 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.