[QFJ-985] Java Modules Created: 17/Sep/19  Updated: 23/Sep/19  Resolved: 23/Sep/19

Status: Closed
Project: QuickFIX/J
Component/s: Build
Affects Version/s: 2.1.1
Fix Version/s: None

Type: Bug Priority: Default
Reporter: Gili Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates QFJ-987 JPMS: Change field classes generation... In Progress

 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.



 Comments   
Comment by Gili [ 17/Sep/19 ]

It looks like someone else reported the same issue last week: https://sourceforge.net/p/quickfixj/mailman/message/36761417/

Comment by Christoph John [ 17/Sep/19 ]

As already written on the mailing list: it would be appreciated if someone could investigate or even better solve this and open a PR.

Thanks,
Chris.

Generated at Sat Nov 23 07:21:20 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.