You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
log4j12/SOURCES/sun-reflect-filter-jdk11.patch

16 lines
692 B

--- log4j-1_2_17/tests/src/java/org/apache/log4j/util/SunReflectFilter.java~ 2012-05-26 12:00:25.000000000 +0200
+++ log4j-1_2_17/tests/src/java/org/apache/log4j/util/SunReflectFilter.java 2019-11-05 10:04:05.622551632 +0100
@@ -37,6 +37,12 @@
if (in.indexOf("at java.lang.reflect.") >= 0) {
return null;
}
+ if (in.indexOf("at java.base/jdk.internal.reflect.") >= 0) {
+ return null;
+ }
+ if (in.indexOf("at java.base/java.lang.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);