Repackaging Java 9+ module-info.class files will break classloading in Java 9+

Description

Java 9+ allows jars to define their module names, imports and exports with a module-info.class. If a compile scoped dependency containing a module-info.class is rebundled into a plugin jar, AMPS should not copy the module-info.class, as it breaks the module definition for the plugin jar - and could overwrite its existing module definition in the process.

Environment

None

Testing Notes

Add notes...

Assignee

Richard Atkins

Reporter

Richard Atkins

Labels

None

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Story point estimate

None

Fix versions

Priority

Major
Configure