Index: test/unit/src/org/openide/explorer/propertysheet/PropertyMarkingTest.java =================================================================== RCS file: /cvs/openide/test/unit/src/org/openide/explorer/propertysheet/PropertyMarkingTest.java,v retrieving revision 1.4 diff -u -r1.4 PropertyMarkingTest.java --- test/unit/src/org/openide/explorer/propertysheet/PropertyMarkingTest.java 12 Dec 2003 10:50:41 -0000 1.4 +++ test/unit/src/org/openide/explorer/propertysheet/PropertyMarkingTest.java 12 Dec 2003 12:49:04 -0000 @@ -274,11 +274,13 @@ } } - private Exception throwMe2=null; + private Exception throwMe2 = null; + private Error throwMe3 = null; private void assertPixel(final Component c, final Color toMatch, final int x, final int y) throws Exception { sleep(); sleep(); throwMe2 = null; + throwMe3 = null; if (SwingUtilities.isEventDispatchThread()) { System.err.println("Thread is " + Thread.currentThread()); doAssertPixel(c, toMatch, x, y); @@ -298,11 +300,16 @@ System.err.println("Returned from doAssertPixel"); } catch (Exception e) { throwMe2 = e; + } catch (Error e) { + throwMe3 = e; } } }); if (throwMe2 != null) { throw throwMe2; + } + if (throwMe3 != null) { + throw throwMe3; } }