diff --git a/src/share/classes/com/sun/rowset/FilteredRowSetImpl.java b/src/share/classes/com/sun/rowset/FilteredRowSetImpl.java index a18c0ac10bd49800dc08d802f32465d5d6f9f2d1..20c2743ee4b5d8738a177cd891fa8041cafc8247 100644 --- a/src/share/classes/com/sun/rowset/FilteredRowSetImpl.java +++ b/src/share/classes/com/sun/rowset/FilteredRowSetImpl.java @@ -128,7 +128,7 @@ public class FilteredRowSetImpl extends WebRowSetImpl implements Serializable, C for(int rows=this.getRow(); rows<=this.size();rows++) { bool = super.internalNext(); - if( p == null) { + if( !bool || p == null) { return bool; } if(p.evaluate(this)){