[ nice-Bugs-903151 ] compiler doesn't catch unimplemented Java interfaces
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.lang.nice.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #903151, was opened at 2004-02-24 02:41
Message generated for change (Comment added) made by bonniot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=903151&group_id=12788
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Thomas (jthomas)
Assigned to: Nobody/Anonymous (nobody)
>Summary: compiler doesn't catch unimplemented Java interfaces
Initial Comment:
This compiles with no errors:
package test;
import javax.swing.table.*;
class Test implements javax.swing.table.TableModel {
}
void main(String[] args) {
TableModel t = new Test();
println(t.getValueAt(0, 0));
}
----------------------------------------------------------------------
>Comment By: Daniel Bonniot (bonniot)
Date: 2004-02-24 09:59
Message:
Logged In: YES
user_id=88952
Right, this is not implemented yet. Note that it can only
happen when implementing a Java interface. When implementing
Nice interfaces, you get the full checking.
I think this should be implemented soon, as importing Java
code is pretty important, and geting fashionable these days ;-)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=903151&group_id=12788
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click