Index: src/main/java/java/net/URI.java =================================================================== --- src/main/java/java/net/URI.java (revision 490739) +++ src/main/java/java/net/URI.java (working copy) @@ -104,6 +104,7 @@ if (scheme == null && userinfo == null && host == null && path == null && query == null && fragment == null) { + this.path = ""; //$NON-NLS-1$ return; } Index: src/test/java/tests/api/java/net/URITest.java =================================================================== --- src/test/java/tests/api/java/net/URITest.java (revision 490739) +++ src/test/java/tests/api/java/net/URITest.java (working copy) @@ -411,6 +411,9 @@ // equivalent to = uri = new URI("http", "host", "/apath", "\u0080frag"); uri = new URI("http", "host", "/apath", "\u20ACfrag"); + // Regression test for Harmony-1693 + new URI(null, null, null, null); + } catch (URISyntaxException e) { fail("Unexpected URISyntaxException:" + e); }