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 43643fe02c Add JRE fix detail to workaround so it can be removed later.
43643fe02c is described below
commit 43643fe02c522a0ccc4963dd1f640d9c3ab63d56
Author: Mark Thomas <[email protected]>
AuthorDate: Thu May 4 08:21:59 2023 +0100
Add JRE fix detail to workaround so it can be removed later.
---
java/jakarta/el/BeanSupportFull.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/java/jakarta/el/BeanSupportFull.java
b/java/jakarta/el/BeanSupportFull.java
index 03770b56ab..eea3e189e9 100644
--- a/java/jakarta/el/BeanSupportFull.java
+++ b/java/jakarta/el/BeanSupportFull.java
@@ -43,6 +43,9 @@ class BeanSupportFull extends BeanSupport {
this.properties.put(pd.getName(), new
BeanPropertyFull(type, pd));
}
/*
+ * https://bugs.openjdk.org/browse/JDK-8071693 - Introspector
ignores default interface methods.
+ *
+ * This bug is fixed in Java 21 b21. This workaround can be
removed once the minimum Java version is 21.
* Populating from any interfaces causes default methods to be
included.
*/
populateFromInterfaces(type);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]