Skip to content

jlink / log4j2 2.21.1 #1896

Closed
Closed
@CodeDead

Description

@CodeDead

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 codejpmsAffects Java module (JPMS) integration

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions