If the class path specified to `jmod create` contains a .class file in the META-INF (or any "not a package" location) then jmod will add an invalid ModulePackages attribute. jlink also trips up on this case.
- causes
-
JDK-8354629 Test tools/jlink/ClassFileInMetaInfo.java fails on builds with configure option --enable-linkable-runtime
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/fb955bcb
-
Review(master) openjdk/jdk/24362