unimplemented methods

Tom Tromey tromey@redhat.com
Sun Mar 2 00:31:00 GMT 2003


>>>>> "Per" == Per Bothner <per@bothner.com> writes:

Per> I just looked at a couple of classes (java.net.URI
Per> and java.awt.GridBagLayout) and noticed lots of
Per> unimplemented methods just do nothing or return null.

Per> This has to stop.  If an method does not do what it
Per> is supposed to do, then it must throw an exception.

That sounds fine.  I'd suggest bringing the issue up on the Classpath
list; we could add this to the Classpath hacking guide.

Tom



More information about the Java mailing list