Small change to this filter to correct a logical bug that would occur when the Exception didn't match the filter and both caught and uncaught exceptions were selected. Requesting approval so I can commit.

Thanks,
Kyle

2006-06-15  Kyle Galloway <[EMAIL PROTECTED]>

    * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
    (matches): Added explicit brackets to return statement


Index: ExceptionOnlyFilter.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java,v
retrieving revision 1.4
diff -u -r1.4 ExceptionOnlyFilter.java
--- ExceptionOnlyFilter.java	13 Jun 2006 18:08:21 -0000	1.4
+++ ExceptionOnlyFilter.java	15 Jun 2006 17:39:55 -0000
@@ -117,7 +117,7 @@
     Boolean caught 
       = (Boolean) event.getParameter(Event.EVENT_EXCEPTION_CAUGHT);
 
-    return classMatch && (caught.booleanValue()) ? _caught : _uncaught;
+    return classMatch && ((caught.booleanValue()) ? _caught : _uncaught);
   }
   
 }

Reply via email to