Details
Description
The Java's URI is not compliant with RFC 3986 (https://www.ietf.org/rfc/rfc3986.txt) and as such, some invalid URIs sneak in, failing the TCK test cases:
Test case throws exception: No exception has been thrown for link <http://:@> com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient.java#buildNoArgsThrowsUriBuilderExceptionTest_from_standalone(https://ci-builds.apache.org/tmp/JTwork/com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient_buildNoArgsThrowsUriBuilderExceptionTest_from_standalone.jtr): JAXRSClient_buildNoArgsThrowsUriBuilderExceptionTest_from_standalone com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient.java#buildObjectsThrowsUriBuilderExceptionTest_from_standalone(https://ci-builds.apache.org/tmp/JTwork/com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient_buildObjectsThrowsUriBuilderExceptionTest_from_standalone.jtr): JAXRSClient_buildObjectsThrowsUriBuilderExceptionTest_from_standalone Test case throws exception: UriBuilderException has not been thrown, link= <http://@> com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient.java#buildRelativizedThrowsUriBuilderExceptionTest_from_standalone(https://ci-builds.apache.org/tmp/JTwork/com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient_buildRelativizedThrowsUriBuilderExceptionTest_from_standalone.jtr): JAXRSClient_buildRelativizedThrowsUriBuilderExceptionTest_from_standalone
See please https://bugs.openjdk.java.net/browse/JDK-8019345