https://bz.apache.org/bugzilla/show_bug.cgi?id=66631

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Yes, this applies to most of the Tomcat 9 JARs.

Tomcat uses BND to insert the module-info.class file.

A review of the BND documentation and source code indicates the location of the
file is hard coded (so is the class version but that has to be >= Java 9 to
specify the module).

Including a module-info.class file in a JAR otherwise compiled for Java 8 is a
fairly common approach to initial JPMS support. I wonder if updating the logic
in the Maven Project Info Reports Plugin to account for this wouldn't be a
better approach.

Another option would be requesting BND to add an option to insert
module-info.class under META-INF/versions/9 but I'm not sure "so the Maven
Project Info Reports Plugin gets the right answer" would be a sufficient
justification to get that implemented.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to