Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/jdi/SAJDIClassLoader.java @ 152:c70a245cad3a
6670684: 4/5 SA command universe did not print out CMS space information
Summary: Forward port of Yumin's fix for 6670684 from HSX-11; Yumin verified the port was correct.
Reviewed-by: dcubed
author | dcubed |
---|---|
date | Fri, 09 May 2008 08:55:13 -0700 |
parents | a61af66fc99e |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
83:d3cd40645d0d | 152:c70a245cad3a |
---|---|
76 | 76 |
77 SAJDIClassLoader(ClassLoader parent, String classPath) { | 77 SAJDIClassLoader(ClassLoader parent, String classPath) { |
78 this(parent); | 78 this(parent); |
79 this.classPathSet = true; | 79 this.classPathSet = true; |
80 try { | 80 try { |
81 addURL(new File(classPath).toURL()); | 81 addURL(new File(classPath).toURI().toURL()); |
82 } catch(MalformedURLException mue) { | 82 } catch(MalformedURLException mue) { |
83 throw new RuntimeException(mue); | 83 throw new RuntimeException(mue); |
84 } | 84 } |
85 } | 85 } |
86 | 86 |