Metamodel Generator should close streams opened to persistence.xml and referenced mapping files

Description

The metamodel generator does not close open file streams. See also https://github.com/hibernate/hibernate-metamodelgen/pull/12

Environment

None

Assignee

Sanne Grinovero

Reporter

Hardy Ferentschik

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure