https://bz.apache.org/bugzilla/show_bug.cgi?id=66438
Bug ID: 66438
Summary: Tomcat has broken module-info.class files
Product: Tomcat 10
Version: unspecified
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: Packaging
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ------
The module-info.class file in tomcat-embed-core-10.1.5.jar isn't valid and gets
rejected by tools like jlink. Decompiling it with fernflower shows why:
open module org.apache.tomcat.embed.core {
requires jakarta.annotation;
requires jakarta.ejb-api;
requires jakarta.mail;
requires jakarta.persistence-api;
requires jakarta.xml.rpc-api;
...
}
Oops. Those Jakarta module names aren't valid Java identifiers. You are
apparently synthesizing a module-info.class file without using javac and it
results in something that looks like it complies with JPMS but which doesn't.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]