Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove broken and silly Loader.isjava1() test in MDC static constructor #4

Closed
ceki opened this issue Jan 13, 2022 · 1 comment
Closed
Assignees
Milestone

Comments

@ceki
Copy link
Member

ceki commented Jan 13, 2022

The Loader.isJava1() test in org.apache.log4j.MDC is broken when run in JDK 9 or later. MDC incorrectly assumes that the runtime environment is Java 1.1 (not 11 but 1.1) and disables MDC functionality entirely.

@ceki ceki self-assigned this Jan 13, 2022
@ceki ceki added this to the 1.2.8.0 milestone Jan 13, 2022
@ceki
Copy link
Member Author

ceki commented Jan 13, 2022

Fixed in commit 86d356c

@ceki ceki closed this as completed Jan 13, 2022
@ceki ceki modified the milestones: 1.2.8.0, 1.2.18.0 Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant