This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 9572e12ed1 Fix deprecation warning when building with newer versions of Java 9572e12ed1 is described below commit 9572e12ed1a11813882ea12b600d499e41f908c1 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Oct 21 09:31:29 2022 +0100 Fix deprecation warning when building with newer versions of Java --- test/org/apache/catalina/connector/TestResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/apache/catalina/connector/TestResponse.java b/test/org/apache/catalina/connector/TestResponse.java index e114e52dd8..3f451f744a 100644 --- a/test/org/apache/catalina/connector/TestResponse.java +++ b/test/org/apache/catalina/connector/TestResponse.java @@ -645,7 +645,7 @@ public class TestResponse extends TomcatBaseTest { private static final String TEXT_ISO_8859_1 = TEXT + ";charset=" + ISO_8859_1; private static final String TEXT_UTF_8 = TEXT + ";charset=" + UTF_8; private static final String TEXT_UNKNOWN = TEXT + ";charset=" + UNKNOWN; - private static final Locale UNDETERMINED = new Locale("und"); + private static final Locale UNDETERMINED = Locale.forLanguageTag("xxx"); @Test public void testSetCharacterEncoding01() { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org