[Nice-commit] Nice/testsuite/compiler/overloading java.testsuite,NONE,1.1
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-06-10 13:40:36
|
Update of /cvsroot/nice/Nice/testsuite/compiler/overloading In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18889/testsuite/compiler/overloading Added Files: java.testsuite Log Message: Allow calls to Java methods defined in a Java class that implements several Java interfaces declaring that same method, like java.io.ObjectOutputStream.flush() --- NEW FILE: java.testsuite --- /// PASS // When a Java class implements two interfaces, // there is no ambiguity between methods of the same signature // defined in both interfaces, since they are implemented by the same // method in the class /// Toplevel import java.io.*; void foo(ObjectOutputStream o) { o.flush(); } |