Update of /cvsroot/nice/Nice/src/bossa/link
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28527/src/bossa/link
Modified Files:
Compilation.java
Log Message:
Do not rely on printStackTraceWithSourceInfo to be present in
nice.lang.dispatch, since that class might have been generated by an earlier
compiler.
Index: Compilation.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/link/Compilation.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Compilation.java 16 Feb 2004 21:47:12 -0000 1.13
--- Compilation.java 23 Feb 2004 14:35:12 -0000 1.14
***************
*** 113,117 ****
gnu.bytecode.Method print = ClassType.make("nice.lang.dispatch").
! getDeclaredMethod("printStackTraceWithSourceInfo", 1);
c.setBody
--- 113,120 ----
gnu.bytecode.Method print = ClassType.make("nice.lang.dispatch").
! addMethod("printStackTraceWithSourceInfo",
! Access.PUBLIC | Access.STATIC,
! new Type[]{ Type.throwable_type },
! Type.void_type);
c.setBody
|