The following class seems legal to me, and to the JDK 1.3.1_04 compiler,
but builds 634 & 635 (haven't tried with any others) underline the
file.toURL() call and claim that it produces an unhandled
MalformedURLException.
Thanks,
Aaron
package some.package;
import java.net.*;
import java.io.File;
public class Test {
public static void main(String args[]) {
try {
File file = null;
ClassLoader cl = new URLClassLoader(new URL[]{file.toURL()}, null) {
};
} catch(MalformedURLException e) {
}
}
}
_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs