This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: unimplemented methods


>>>>> "Per" == Per Bothner <per at bothner dot 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]