Update of /cvsroot/nice/Nice/src/bossa/link
In directory sc8-pr-cvs1:/tmp/cvs-serv26789/src/bossa/link
Modified Files:
Compilation.java
Log Message:
Call the correct super method in a Nice implementation of a Java method,
when both an implemented interface and a superclass of the superclass
provide the method.
Index: Compilation.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/link/Compilation.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Compilation.java 18 Apr 2003 14:50:29 -0000 1.11
--- Compilation.java 28 Aug 2003 15:56:42 -0000 1.12
***************
*** 178,182 ****
ClassType superClass = c.getSuperclass();
gnu.bytecode.Method superMethod = superClass.getMethod
! (m.getName().toString(), m.javaArgTypes());
if (superMethod != null)
return new ApplyExp
--- 178,182 ----
ClassType superClass = c.getSuperclass();
gnu.bytecode.Method superMethod = superClass.getMethod
! (m.getName().toString(), m.javaArgTypes(), true);
if (superMethod != null)
return new ApplyExp
|