The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/log4j12#2e9c0176b5562419b34282b55de11a2590aff543
18 lines
810 B
Diff
18 lines
810 B
Diff
diff --git a/tests/src/java/org/apache/log4j/util/SunReflectFilter.java b/tests/src/java/org/apache/log4j/util/SunReflectFilter.java
|
|
index ddb62d8..227d3d3 100644
|
|
--- a/tests/src/java/org/apache/log4j/util/SunReflectFilter.java
|
|
+++ b/tests/src/java/org/apache/log4j/util/SunReflectFilter.java
|
|
@@ -37,6 +37,12 @@ public class SunReflectFilter implements Filter {
|
|
if (in.indexOf("at java.lang.reflect.") >= 0) {
|
|
return null;
|
|
}
|
|
+ if (in.indexOf("at java.base/java.lang.reflect.") >= 0) {
|
|
+ return null;
|
|
+ }
|
|
+ if (in.indexOf("at java.base/jdk.internal.reflect.") >= 0) {
|
|
+ return null;
|
|
+ }
|
|
if (in.indexOf("Compiled Code") >= 0) {
|
|
if(in.indexOf("junit.framework.TestSuite") >= 0) {
|
|
return util.substitute("s/Compiled Code/TestSuite.java:XXX/", in);
|