------- Comment #3 from r_ovidius at eml dot cc 2006-04-20 17:20 ------- Try with
String url = "ftp://gcc.gnu.org"; (notice the missing "/" at the end). This results in gnu.java.net.protocol.ftp.FTPException: Invalid number of arguments. at gnu.java.net.protocol.ftp.FTPConnection.changeWorkingDirectory (libgcj.so.7) at gnu.java.net.protocol.ftp.FTPURLConnection.getInputStream (libgcj.so.7) at java.net.URL.openStream (libgcj.so.7) with gcj (GCC) 4.2.0 20060419 (experimental). Further, the "while (file.ready())" never seems to return false in Sun's java, while it does with gcj, so I'd wager on the "obscure bug". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27163