------- Additional Comments From mckinlay at redhat dot com 2005-01-25 15:12 ------- Here's a test case for this bug, copied from PR18931. This will fail when compiling from bytecode produced by Sun's javac, but not from bytecode produced by gcj or ecj.
public class PR19505 { public int getByte() { return 1; } public void ls(String p) throws Exception{ try{ p.toString(); int type=getByte(); if(type!=100){ throw new Exception(""); } if(type==100) return; throw new Exception(); } catch(Exception e){ throw new Exception(""); } } } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19505