]
Tristan Tarrant updated ISPN-12560:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
XMLExtendedStreamReaderImpl.close() throws
UnsupportedOperationException
------------------------------------------------------------------------
Key: ISPN-12560
URL:
https://issues.redhat.com/browse/ISPN-12560
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 12.0.0.Dev07
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Trivial
Fix For: 12.0.0.CR1
{{XMLExtendedStreamReaderImpl.close()}} throws an {{UnsupportedOperationException}},
which is immediately caught and ignored in {{ParserRegistry.parse()}}.
There is no leak, because {{parse()}} closes the reader/stream wrapped in
{{XMLExtendedStreamReaderImpl}} itself, but the close should only happen in one place.