[
https://issues.jboss.org/browse/WFLY-9597?page=com.atlassian.jira.plugin....
]
Tomaz Cerar commented on WFLY-9597:
-----------------------------------
It doesn't really matter.
This is done so we can garbage collect better.
Writer is only created when it is needed, which in most common scenario is not very often,
as usually you just start the server (that reads the config) and than unless you ever
change config at runtime (which is rare in production) writer never gets created.
so in short. this is by design that makes readers & writers short lived for the
purpose when they are needed.
UndertowSubsystemParser_5_0 could be instantiated twice: once as a
reader and once as a writer
----------------------------------------------------------------------------------------------
Key: WFLY-9597
URL:
https://issues.jboss.org/browse/WFLY-9597
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Reporter: Radoslav Husar
Assignee: Tomaz Cerar
The org.wildfly.extension.undertow.UndertowSubsystemParser_5_0#xmlDescription could be
created twice, the first and last line in the diff should return the same instance or use
different approach:
https://github.com/rhusar/wildfly/blob/7dbc8bd0c8bcdae5db61ecdff1484a422c...
Most likely the same issue is in multiple places.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)