Hi David,
 I ran your test with:
/D:/Dokumente und
Einstellungen/XXX/.m2/repository/commons-digester/commons-digester/1.7/commons-digester-1.7.jar
and got:
clazz = class org.apache.commons.digester.Digester

which I interpret as 'alll fine with JVM'.

Any other approaches to my problem ?

Wolfgang


David Blevins wrote:
> 
> Hi Wolfgang!
> 
> Moved this one to the dev list.
> 
> We definitely did have an issue with spaces in the paths  
> (OPENEJB-767).  Most the issues were around going from URL->File and  
> (File or URL)->URI.
> 
> I haven't seen the File->URL issue, at least not on the Sun VM.  For  
> example, this runs fine:
> 
>      public static void main(String[] args) throws Exception {
>          File file = new File("/Users/dblevins/work/openejb3/my path  
> with spaces/commons-digester-1.8.jar");
>          URL url = file.toURL();
>          URLClassLoader urlClassLoader = new URLClassLoader(new URL[] 
> {url});
> 
>          Class<?> clazz =  
> urlClassLoader.loadClass("org.apache.commons.digester.Digester");
>          System.out.println("clazz = " + clazz);
>      }
> 
> Is this something that affects other VMs maybe?
> 
> -David
>       
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-Quality-Improvement---Virus-checked--tp18954543p18961046.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to