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
The following commit(s) were added to refs/heads/main by this push:
new c0754581e4 Fix typo
c0754581e4 is described below
commit c0754581e4a2d50a7ec4beafc1e2c4125020eb09
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Jul 25 12:46:32 2024 +0100
Fix typo
---
java/org/apache/tomcat/util/compat/Jre18Compat.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/compat/Jre18Compat.java
b/java/org/apache/tomcat/util/compat/Jre18Compat.java
index b83999f179..e4c7d58256 100644
--- a/java/org/apache/tomcat/util/compat/Jre18Compat.java
+++ b/java/org/apache/tomcat/util/compat/Jre18Compat.java
@@ -38,7 +38,7 @@ public class Jre18Compat extends JreCompat {
Method m1 = null;
try {
- m1 = Subject.class.getMethod("classAS", Subject.class,
Callable.class);
+ m1 = Subject.class.getMethod("callAs", Subject.class,
Callable.class);
} catch (NoSuchMethodException e) {
// Must before-Java 18
log.debug(sm.getString("jre18Compat.javaPre18"), e);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]