Index: src/test/api/java/common/javax/swing/LayoutFocusTraversalPolicyTest.java =================================================================== --- src/test/api/java/common/javax/swing/LayoutFocusTraversalPolicyTest.java (revision 490528) +++ src/test/api/java/common/javax/swing/LayoutFocusTraversalPolicyTest.java (working copy) @@ -165,6 +165,30 @@ result.setName(name); return result; } + + /** + * Regression test for Harmony-2753 + * */ + public void testGetFirstNull(){ + try { + policy.getFirstComponent(null); + fail("IllegalAgumentexception should be thrown"); + } catch (IllegalArgumentException e) { + // expected + } + } + + /** + * Regression test for Harmony-2753 + * */ + public void testGetLastNull(){ + try { + policy.getLastComponent(null); + fail("IllegalAgumentexception should be thrown"); + } catch (IllegalArgumentException e) { + // expected + } + } private class TestComboBoxUI extends ComboBoxUI { private final boolean isFocusTraversable;