This is an automated email from the ASF dual-hosted git repository.
gtully pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new ce5ef31c38 ARTEMIS-5332 avoid thread local utils bean as it will leak
a builder
ce5ef31c38 is described below
commit ce5ef31c38256631e8d86c20b6e89409676086a9
Author: Gary Tully <[email protected]>
AuthorDate: Mon Jun 9 12:29:26 2025 +0100
ARTEMIS-5332 avoid thread local utils bean as it will leak a builder
---
.../org/apache/activemq/artemis/core/config/impl/ConfigurationImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/config/impl/ConfigurationImpl.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/config/impl/ConfigurationImpl.java
index 537a599fff..cb8f2d5961 100644
---
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/config/impl/ConfigurationImpl.java
+++
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/config/impl/ConfigurationImpl.java
@@ -974,7 +974,7 @@ public class ConfigurationImpl implements Configuration,
Serializable {
}
private void writeProperties(FileWriter writer) throws Exception {
- final BeanUtilsBean beanUtilsBean = BeanUtilsBean.getInstance();
+ final BeanUtilsBean beanUtilsBean = new BeanUtilsBean();
beanUtilsBean.getPropertyUtils().addBeanIntrospector(new
FluentPropertyBeanIntrospectorWithIgnores());
try (BufferedWriter bufferedWriter = new BufferedWriter(writer)) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact