[Nice-commit] Nice/src/bossa/modules Package.java,1.101,1.102
Brought to you by:
bonniot
From: <bo...@us...> - 2003-11-17 20:26:48
|
Update of /cvsroot/nice/Nice/src/bossa/modules In directory sc8-pr-cvs1:/tmp/cvs-serv27253/src/bossa/modules Modified Files: Package.java Log Message: Make sure that when overloaded methods need to have different names in the bytecode because they have the same bytecode types, the renaming is consistent accross recompilations, so that existing code that is not recompiled does not end up calling the wrong method. Index: Package.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/modules/Package.java,v retrieving revision 1.101 retrieving revision 1.102 diff -C2 -d -r1.101 -r1.102 *** Package.java 7 Nov 2003 12:34:37 -0000 1.101 --- Package.java 17 Nov 2003 20:26:25 -0000 1.102 *************** *** 793,796 **** --- 793,799 ---- argTypes = meth.arg_types; retType = meth.return_type; + // Make sure we use the same bytecode name, since compiled code + // can rely on it. + name = meth.getName(); } else // Get type information from the nice declaration |