Details
-
Type: Bug
-
Status: Closed
-
Priority: Default
-
Resolution: Duplicate
-
Affects Version/s: 2.1.1
-
Fix Version/s: None
-
Component/s: Build
-
Labels:None
Description
Java Modules (jigsaw) does not allow users to load JAR files that export the same package.
Mutually-exclusive JAR files (e.g. FIX42, FIX44 JAR files) are allowed to export the same package, but users cannot import quickfixj-core and quickfixj-messages-fix44 simultaneously because they export the same package. Doing so results in the following compile-time error message:
the unnamed module reads package quickfix.field from both quickfixj.messages.fix44 and quickfixj.core
module quickfixj.messages.fix44 reads package quickfix.field from both quickfixj.core and quickfixj.messages.fix44
module quickfixj.core reads package quickfix.field from both quickfixj.messages.fix44 and quickfixj.core
Please refactor the artifacts so JAR files that must be imported together do not export the same package.
Attachments
Issue Links
- duplicates
-
QFJ-987 JPMS: Change field classes generation to resolve split package issue
- In Progress