In the ee.jakarta.tck.ws.rs.ee.rs.core.headers.JAXRSClientIT.contentLanguageTest when the Variant is constructed the language "en-US" is passed. However, in the JavaDoc for the argument it states:
@param language the language of the variant (two-letter ISO-639 code); may be {@code null}.
The test should be using new Variant(MediaType.WILDCARD_TYPE, "en", "US", null); instead of new Variant(MediaType.WILDCARD_TYPE, "en-US", null);.
In the
ee.jakarta.tck.ws.rs.ee.rs.core.headers.JAXRSClientIT.contentLanguageTest
when theVariant
is constructed the language "en-US" is passed. However, in the JavaDoc for the argument it states:The test should be using
new Variant(MediaType.WILDCARD_TYPE, "en", "US", null);
instead ofnew Variant(MediaType.WILDCARD_TYPE, "en-US", null);
.This was found in RESTEasy with a change to use language tags for locales, for reference https://github.com/resteasy/resteasy/pull/4054.