This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 4ce8c0a059807dc7b282ac02422894a78618e9e4
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jan 19 13:43:06 2023 +0000

    Fix test broken by Java 16 deprecation fixes
---
 test/org/apache/juli/TestThreadNameCache.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/juli/TestThreadNameCache.java 
b/test/org/apache/juli/TestThreadNameCache.java
index d32efb8127..65c7a6e6b2 100644
--- a/test/org/apache/juli/TestThreadNameCache.java
+++ b/test/org/apache/juli/TestThreadNameCache.java
@@ -32,7 +32,7 @@ public class TestThreadNameCache {
         final CountDownLatch cacheLatch = new CountDownLatch(1);
 
         OneLineFormatter olf = new OneLineFormatter();
-        Method getThreadName = 
olf.getClass().getDeclaredMethod("getThreadName", int.class);
+        Method getThreadName = 
olf.getClass().getDeclaredMethod("getThreadName", long.class);
         getThreadName.setAccessible(true);
         Thread thread = new Thread() {
             @Override


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to