[Fb-contrib-commit] SF.net SVN: fb-contrib: [594] trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/de
Brought to you by:
dbrosius
From: <dbr...@us...> - 2006-08-08 06:07:56
|
Revision: 594 Author: dbrosius Date: 2006-08-07 23:07:51 -0700 (Mon, 07 Aug 2006) ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=594&view=rev Log Message: ----------- don't check synthetic methods Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LostExceptionStackTrace.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LostExceptionStackTrace.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LostExceptionStackTrace.java 2006-08-08 05:52:47 UTC (rev 593) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LostExceptionStackTrace.java 2006-08-08 06:07:51 UTC (rev 594) @@ -99,6 +99,9 @@ * @return if the class throws exceptions */ public boolean prescreen(Code code, Method method) { + if (method.isSynthetic()) + return false; + CodeException[] ce = code.getExceptionTable(); if ((ce == null) || (ce.length == 0)) return false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |