https://issues.apache.org/bugzilla/show_bug.cgi?id=52192
--- Comment #1 from Chris Bowditch <[email protected]> 2011-11-17 11:20:50 UTC --- Hi Mehdi, Your test case contains a bug. You try to build the URL manually: File url = new File("test/resources/fonts/DejaVuLGCSerif.ttf"); String absoluteFilePath = "file://" + url.getAbsolutePath(); This fails to run on Windows with the following error: [junit] java.net.UnknownHostException: C [junit] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) [junit] at java.net.Socket.connect(Socket.java:524) [junit] at java.net.Socket.connect(Socket.java:474) Why not just get the String version of the URL instead of trying to build the URL through String concatenation? Thanks, Chris -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
