-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
bugIncorrect, unexpected, or unintended behavior of existing codeIncorrect, unexpected, or unintended behavior of existing codejpmsAffects Java module (JPMS) integrationAffects Java module (JPMS) integration
Milestone
Description
Description
Without using any log4j2 plugins and after upgrading to log4j 2.21.0 or 2.21.1 I am having issues bundling log4j2-core with my jlink'd build. I think this has something to do with an incorrect dependency being set in the module-info file introduced in log4j2 2.21.0
Configuration
Version: 2.21.0, 2.21.1
Operating system: Windows 10, Windows 11, Fedora Linux 38
JDK: 17 - 21
Logs
Directly from jlink:
Error: Module org.apache.logging.log4j.core does not read a module that exports javax.annotation.processing
Reproduction
Try a jlink build. Not using any log4j2 plugins.
Metadata
Metadata
Assignees
Labels
bugIncorrect, unexpected, or unintended behavior of existing codeIncorrect, unexpected, or unintended behavior of existing codejpmsAffects Java module (JPMS) integrationAffects Java module (JPMS) integration