This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new e02b7f9661 Remove unnecessary code
e02b7f9661 is described below
commit e02b7f9661a64d22fdeaa2da1ea424250789289d
Author: Mark Thomas <[email protected]>
AuthorDate: Wed May 20 09:35:44 2026 +0100
Remove unnecessary code
---
java/jakarta/el/BeanSupportStandalone.java | 21 ---------------------
webapps/docs/changelog.xml | 3 ---
2 files changed, 24 deletions(-)
diff --git a/java/jakarta/el/BeanSupportStandalone.java
b/java/jakarta/el/BeanSupportStandalone.java
index 4ba89a7f83..961fdd6125 100644
--- a/java/jakarta/el/BeanSupportStandalone.java
+++ b/java/jakarta/el/BeanSupportStandalone.java
@@ -172,27 +172,6 @@ class BeanSupportStandalone extends BeanSupport {
for (PropertyDescriptor pd : pds) {
this.properties.put(pd.getName(), new
BeanPropertyStandalone(type, pd));
}
- /*
- * Populating from any interfaces causes default methods to be
included.
- */
- populateFromInterfaces(type);
- }
-
- private void populateFromInterfaces(Class<?> aClass) {
- Class<?>[] interfaces = aClass.getInterfaces();
- for (Class<?> ifs : interfaces) {
- PropertyDescriptor[] pds = getPropertyDescriptors(ifs);
- for (PropertyDescriptor pd : pds) {
- if (!this.properties.containsKey(pd.getName())) {
- this.properties.put(pd.getName(), new
BeanPropertyStandalone(this.type, pd));
- }
- }
- populateFromInterfaces(ifs);
- }
- Class<?> superclass = aClass.getSuperclass();
- if (superclass != null) {
- populateFromInterfaces(superclass);
- }
}
}
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index d0bf4cc43e..2710cdd18c 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -164,9 +164,6 @@
</subsection>
<subsection name="Jasper">
<changelog>
- <fix>
- Fix EL standalone interface bean properties discovery. (remm)
- </fix>
<fix>
Fix possible EL argument mismatch when it was set to null. (remm)
</fix>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]