[Nice-commit] Nice/src/nice/tools/code EnsureTypeProc.java,1.5,1.6
Brought to you by:
bonniot
|
From: Daniel B. <bo...@us...> - 2005-03-24 14:47:16
|
Update of /cvsroot/nice/Nice/src/nice/tools/code In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18703/src/nice/tools/code Modified Files: EnsureTypeProc.java Log Message: Stop wrapping ClassCastException into gnu.mypping.WrongType. This is only useful in unityped languages like Kawa. This reduces bytecode length and removes the need for adding the WrongType class in generated jars. Index: EnsureTypeProc.java =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/code/EnsureTypeProc.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** EnsureTypeProc.java 2 Apr 2003 16:44:50 -0000 1.5 --- EnsureTypeProc.java 24 Mar 2005 14:46:57 -0000 1.6 *************** *** 57,62 **** { oldTarget = target; ! target = new CheckedTarget(type, "nice.tools.code.EnsureTypeProc", ! gnu.mapping.WrongType.ARG_DESCRIPTION); } --- 57,61 ---- { oldTarget = target; ! target = StackTarget.getInstance(type); } |