On 22/02/2023 19:26, ma...@apache.org wrote:
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 0d4b396392db0362a8f1bc6a80c4f60005114f09
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Feb 22 15:52:51 2023 +0000
A sub-set of JavaBeans support that does not depend on java.beans
This for use by Expression Language when the java.desktop module (which
is where the java.beans package resides) is not available.
Hi all,
This commit will likely benefit from further review.
The purpose of this commit is to provide EL with an alternative to the
default JavaBeans spec implementation provided by the JVM if the
java.desktop module is not present. This removes the dependency on
java.desktop from the EL spec.
The good news is that if java.desktop module is not present, large parts
of the JavaBean spec don't apply as the necessary classes are not
available. The bad news is that there are a lot of potential edge cases.
I have tried to cover these in the unit tests but I would not be
surprised if I have missed some.
Any suggestions for additional tests for edge cases I have missed would
be welcome. One thing to note, I intend to commit essentially the same
set of changes to the Jakarta EL project to implement the same change there.
Looking forward to the feedback.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org