-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Backport some Log4j API 3.x features #2392
Changes from 10 commits
b2c0a85
9b455b2
ffe06dd
f3c0f6f
f7184e5
9157957
c2c3a01
a567c58
08a17c3
a1c2bd1
f0e82d1
11209a3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,10 @@ | |
<bnd-multi-release>true</bnd-multi-release> | ||
<!-- Differs from OSGi bundle name --> | ||
<bnd-module-name>org.apache.logging.log4j</bnd-module-name> | ||
<bnd-extra-package-options> | ||
<!-- Not exported by most OSGi system bundles, hence we use the system classloader to load `sun.reflect.Reflection` --> | ||
!sun.reflect | ||
</bnd-extra-package-options> | ||
Comment on lines
+39
to
+42
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Has this problem ever been reported? I feel like we are solving a problem of your C64 that you tinker at nights in your attic. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A We must have lost it, when we switched to BND, because it couldn't detect that we are using |
||
<bnd-extra-module-options> | ||
<!-- Used in StringBuilders through reflection --> | ||
java.sql;static=true, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This class is used in
@ResourceLock
JUnit 5 annotations.Thanks to the
DI
, most tests in Log4j Core 3.x will not require to access service classes through static methods (yes, even forThreadContext
), but we want to mark those that need to be rewritten.