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

rmaucher 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 20953fc169 Revert is method matching fix for 9.0 due to API 
incompatibility
20953fc169 is described below

commit 20953fc169e711e5a2d679f608fb10b40fb548f1
Author: remm <[email protected]>
AuthorDate: Mon Aug 31 11:19:41 2026 +0200

    Revert is method matching fix for 9.0 due to API incompatibility
    
    ClassLoader isRegisteredAsParallelCapable is used and is Java 9+. so the
    API change causes breakage.
---
 .../tomcat/util/xreflection/ObjectReflectionPropertyInspector.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/java/org/apache/tomcat/util/xreflection/ObjectReflectionPropertyInspector.java
 
b/java/org/apache/tomcat/util/xreflection/ObjectReflectionPropertyInspector.java
index 22a0ba5316..102370df4f 100644
--- 
a/java/org/apache/tomcat/util/xreflection/ObjectReflectionPropertyInspector.java
+++ 
b/java/org/apache/tomcat/util/xreflection/ObjectReflectionPropertyInspector.java
@@ -174,7 +174,7 @@ public final class ObjectReflectionPropertyInspector {
 
     static Method findGetter(Class<?> declaringClass, String propertyName) {
         for (String getterName : Arrays.asList("get" + 
IntrospectionUtils.capitalize(propertyName),
-                "is" + IntrospectionUtils.capitalize(propertyName))) {
+                "is" + propertyName)) {
             try {
                 Method method = declaringClass.getMethod(getterName);
                 if (!Modifier.isPrivate(method.getModifiers())) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to