Re: XMLOutputFactory REUSE_INSTANCE property defaults to true

2022-07-14 Thread Joe Wang
On 7/14/22 4:07 PM, Bernd Eckenfels wrote: The XMLOutputFactoryImpl does not allow to share the writer instances: https://github.com/openjdk/jdk/blob/739769c8fc4b496f08a92225a12d07414537b6c0/src/java.xml/share/classes/com/sun/xml/internal/stream/XMLOutputFactoryImpl.java#L167 Sounds like a b

XMLOutputFactory REUSE_INSTANCE property defaults to true

2022-07-14 Thread Bernd Eckenfels
The XMLOutputFactoryImpl does not allow to share the writer instances: https://github.com/openjdk/jdk/blob/739769c8fc4b496f08a92225a12d07414537b6c0/src/java.xml/share/classes/com/sun/xml/internal/stream/XMLOutputFactoryImpl.java#L167 So this is initialized and set to false: https://github.com/op