Index: trunk/modules/luni/src/test/java/tests/api/java/net/URITest.java =================================================================== --- trunk/modules/luni/src/test/java/tests/api/java/net/URITest.java (revision 430211) +++ trunk/modules/luni/src/test/java/tests/api/java/net/URITest.java (working copy) @@ -1481,7 +1483,7 @@ /** * @tests java.net.URI#parseServerAuthority() */ - public void test_parseServerAuthority() { + public void test_parseServerAuthority() throws URISyntaxException { // registry based uris URI[] uris = null; try { @@ -1601,6 +1603,9 @@ fail("Expected URISyntaxException for URI " + uri.toString()); } catch (URISyntaxException e) { } + + // regression test for HARMONY-1126 + assertNotNull(URI.create("file://C:/1.txt").parseServerAuthority()); } /**