This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a change to branch WW-5537-classloader-leak-fixes
in repository https://gitbox.apache.org/repos/asf/struts.git
discard b56ea78c1 WW-5537 Dispatcher.destroyObjectFactory: add early return on
null, use pattern matching
discard 1f97920f3 WW-5537 Add log4j-web for proper Log4j2 lifecycle in Servlet
container
discard b37bc7df4 WW-5537 Rewrite DispatcherCleanupTest for
InternalDestroyable discovery
discard 4aa8a0a3e WW-5537 Dispatcher.cleanup: refactor into focused methods
with InternalDestroyable discovery
discard 0bb2cdb6a WW-5537 JSON plugin: add JSONCacheDestroyable for BeanInfo
cache cleanup
discard a8fb836d0 WW-5537 Register InternalDestroyable beans in
struts-beans.xml
discard 819703157 WW-5537 Add InternalDestroyable adapter classes for static
cache cleanup
discard fe9cb6517 WW-5537 CompoundRootAccessor, DefaultFileManager: implement
InternalDestroyable
discard 81056affd WW-5537 ScopeInterceptor.clearLocks: add synchronized block
discard 3cb57c365 WW-5537 FinalizableReferenceQueue: volatile instance, join,
classloader null
discard cfda44b3b WW-5537 ContainerHolder: ThreadLocal with AtomicLong
generation counter
discard a6b2567f1 WW-5537 Add InternalDestroyable and ContextAwareDestroyable
interfaces
add 8ac63e535 WW-5618 feat(json): add configurable limits to JSON plugin
(#1625)
add 2089d30bc WW-5537 Add InternalDestroyable and ContextAwareDestroyable
interfaces
add a64777aba WW-5537 ContainerHolder: ThreadLocal with AtomicLong
generation counter
add 7f5154306 WW-5537 FinalizableReferenceQueue: volatile instance, join,
classloader null
add 549291b9b WW-5537 ScopeInterceptor.clearLocks: add synchronized block
add 730d354f3 WW-5537 CompoundRootAccessor, DefaultFileManager: implement
InternalDestroyable
add 2c4ac8303 WW-5537 Add InternalDestroyable adapter classes for static
cache cleanup
add 7c022315a WW-5537 Register InternalDestroyable beans in
struts-beans.xml
add 16a708803 WW-5537 JSON plugin: add JSONCacheDestroyable for BeanInfo
cache cleanup
add 534e8cc85 WW-5537 Dispatcher.cleanup: refactor into focused methods
with InternalDestroyable discovery
add 50c715ab8 WW-5537 Rewrite DispatcherCleanupTest for
InternalDestroyable discovery
add 305f50f99 WW-5537 Add log4j-web for proper Log4j2 lifecycle in Servlet
container
add 9097c076c WW-5537 Dispatcher.destroyObjectFactory: add early return on
null, use pattern matching
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (b56ea78c1)
\
N -- N -- N refs/heads/WW-5537-classloader-leak-fixes (9097c076c)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.../struts2/json/JSONBeanSelectionProvider.java | 14 +-
.../org/apache/struts2/json/JSONConstants.java | 6 +
.../org/apache/struts2/json/JSONInterceptor.java | 53 ++-
.../java/org/apache/struts2/json/JSONReader.java | 282 +------------
.../java/org/apache/struts2/json/JSONUtil.java | 50 ++-
.../{JSONReader.java => StrutsJSONReader.java} | 210 ++++++----
...efaultJSONWriter.java => StrutsJSONWriter.java} | 4 +-
.../json/config/entities/JSONConstantConfig.java | 64 +++
plugins/json/src/main/resources/struts-plugin.xml | 16 +-
.../java/org/apache/struts2/json/JSONEnumTest.java | 8 +-
.../apache/struts2/json/JSONInterceptorTest.java | 94 ++++-
.../org/apache/struts2/json/JSONPopulatorTest.java | 17 +-
.../org/apache/struts2/json/JSONReaderTest.java | 2 +-
.../org/apache/struts2/json/JSONResultTest.java | 48 +--
.../java/org/apache/struts2/json/JSONUtilTest.java | 6 +-
.../apache/struts2/json/StrutsJSONReaderTest.java | 159 ++++++++
...ONWriterTest.java => StrutsJSONWriterTest.java} | 47 +--
.../struts2/json/jsonwriter-write-bean-02.txt | 2 +-
...6-03-16-json-plugin-configurable-limits-plan.md | 450 +++++++++++++++++++++
19 files changed, 1069 insertions(+), 463 deletions(-)
copy
core/src/test/java/org/apache/struts2/config/TestBeanSelectionProvider.java =>
plugins/json/src/main/java/org/apache/struts2/json/JSONBeanSelectionProvider.java
(69%)
copy plugins/json/src/main/java/org/apache/struts2/json/{JSONReader.java =>
StrutsJSONReader.java} (52%)
rename
plugins/json/src/main/java/org/apache/struts2/json/{DefaultJSONWriter.java =>
StrutsJSONWriter.java} (99%)
create mode 100644
plugins/json/src/test/java/org/apache/struts2/json/StrutsJSONReaderTest.java
rename
plugins/json/src/test/java/org/apache/struts2/json/{DefaultJSONWriterTest.java
=> StrutsJSONWriterTest.java} (86%)
create mode 100644
thoughts/shared/research/2026-03-16-json-plugin-configurable-limits-plan.md