------- Comment #5 from tromey at gcc dot gnu dot org 2005-12-14 00:51 ------- URLs are handled differently. If you do new File("./").toURI() you will get a URI with the absolute path name in it -- i.e., a hierarchical one. The same happens for new File("./").toURL().toURI()
Caolan -- if we changed this to throw an IllegalArgumentException, would that help? I'm wondering how this code can work in OO.o. Another way it could work is if there is variance between JDK versions and you've only happened to try ones where it works somehow. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25389