[Nice-commit] Nice/src/gnu/bytecode TryState.java,1.1.1.1,1.2 CodeAttr.java,1.24,1.25
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2005-02-07 17:07:05
|
Update of /cvsroot/nice/Nice/src/gnu/bytecode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30750/src/gnu/bytecode Modified Files: TryState.java CodeAttr.java Log Message: Properly execute finally clauses when breaking out of a loop (fixes #1090881). Index: CodeAttr.java =================================================================== RCS file: /cvsroot/nice/Nice/src/gnu/bytecode/CodeAttr.java,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** CodeAttr.java 15 Apr 2004 10:03:21 -0000 1.24 --- CodeAttr.java 7 Feb 2005 17:06:54 -0000 1.25 *************** *** 68,71 **** --- 68,73 ---- TryState try_stack; + public final TryState getTryStack() { return try_stack; } + public final Method getMethod() { return (Method) getContainer(); } Index: TryState.java =================================================================== RCS file: /cvsroot/nice/Nice/src/gnu/bytecode/TryState.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** TryState.java 7 Sep 2000 17:55:11 -0000 1.1.1.1 --- TryState.java 7 Feb 2005 17:06:54 -0000 1.2 *************** *** 9,13 **** public class TryState { /** The surrounding TryState, if any. */ ! TryState previous; /** The label for the code following the entire try-statement. */ --- 9,13 ---- public class TryState { /** The surrounding TryState, if any. */ ! public final TryState previous; /** The label for the code following the entire try-statement. */ *************** *** 15,19 **** /** If this "try" has a "finally", the Label of the "finally" sub-routine. */ ! Label finally_subr; /** Used for the return address of the finally subroutine (if any). */ --- 15,19 ---- /** If this "try" has a "finally", the Label of the "finally" sub-routine. */ ! public Label finally_subr; /** Used for the return address of the finally subroutine (if any). */ |