Index: modules/awt/src/test/api/java/common/java/awt/geom/AreaTest.java =================================================================== --- modules/awt/src/test/api/java/common/java/awt/geom/AreaTest.java (revision 463626) +++ modules/awt/src/test/api/java/common/java/awt/geom/AreaTest.java (working copy) @@ -20,10 +20,8 @@ */ package java.awt.geom; -import junit.framework.TestCase; +public class AreaTest extends PathIteratorTestCase { -public class AreaTest extends TestCase { - public AreaTest(String name) { super(name); } @@ -76,5 +74,13 @@ // expected } } + + public void testGetPathIterator() { + // Regression test HARMONY-1860 + Area a = new Area(); + PathIterator path = a.getPathIterator(null); + checkPathRule(path, PathIterator.WIND_NON_ZERO); + checkPathDone(path, true); + } }