Index: C:/harmony/trunk_0427/modules/auth/src/test/java/common/javax/security/auth/kerberos/KerberosPrincipalTest.java =================================================================== --- C:/harmony/trunk_0427/modules/auth/src/test/java/common/javax/security/auth/kerberos/KerberosPrincipalTest.java (revision 419136) +++ C:/harmony/trunk_0427/modules/auth/src/test/java/common/javax/security/auth/kerberos/KerberosPrincipalTest.java (working copy) @@ -81,6 +81,17 @@ assertEquals("apache.org", principal.getRealm()); assertEquals(KerberosPrincipal.KRB_NT_UNKNOWN, principal.getNameType()); } + /** + * @tests javax.security.auth.kerberos.KerberosPrincipal#KerberosPrincipal( + * java.lang.String) + */ + public void test_Ctor3() { + try { + new KerberosPrincipal("@/"); + fail("No expected IllegalArgumentException"); + } catch (IllegalArgumentException e) { + } + } /** * @tests javax.security.auth.kerberos.KerberosPrincipal#hashCode()