Make ArchiveClassLoader work with JDK 9

Description

ArchiveClassLoader overrides getResourceAsStream() to redirect resource loading to Shrinkwrap archives.

The code in JDK's ResourceBundle for obtaining bundle contents has changed from JDK 8 to 9: Instead of getResourceAsStream() it is now calling getResource(). So we need to divert that call, too.

Environment

None

Status

Assignee

Guillaume Smet

Reporter

Gunnar Morling

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Fix versions

Priority

Major