-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Host GraalVM Reachability Metadata of `ch.qos.logback:logback-core:1.…
…2.12` to fix Error Log in NativeTest (#29635)
- Loading branch information
1 parent
6752fde
commit 8c16b8d
Showing
7 changed files
with
174 additions
and
52 deletions.
There are no files selected for viewing
82 changes: 82 additions & 0 deletions
82
...in/resources/META-INF/native-image/ch.qos.logback/logback-core/1.2.12/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
[ | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.joran.action.NestedComplexPropertyIA"}, | ||
"name":"ch.qos.logback.classic.encoder.PatternLayoutEncoder", | ||
"methods":[{"name":"<init>","parameterTypes":[] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.joran.util.beans.BeanDescriptionFactory"}, | ||
"name":"ch.qos.logback.classic.encoder.PatternLayoutEncoder", | ||
"queryAllPublicMethods":true | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.pattern.parser.Compiler"}, | ||
"name":"ch.qos.logback.classic.pattern.DateConverter", | ||
"methods":[{"name":"<init>","parameterTypes":[] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.pattern.parser.Compiler"}, | ||
"name":"ch.qos.logback.classic.pattern.LevelConverter", | ||
"methods":[{"name":"<init>","parameterTypes":[] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.pattern.parser.Compiler"}, | ||
"name":"ch.qos.logback.classic.pattern.LineSeparatorConverter", | ||
"methods":[{"name":"<init>","parameterTypes":[] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.pattern.parser.Compiler"}, | ||
"name":"ch.qos.logback.classic.pattern.LoggerConverter", | ||
"methods":[{"name":"<init>","parameterTypes":[] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.pattern.parser.Compiler"}, | ||
"name":"ch.qos.logback.classic.pattern.MessageConverter", | ||
"methods":[{"name":"<init>","parameterTypes":[] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.pattern.parser.Compiler"}, | ||
"name":"ch.qos.logback.classic.pattern.ThreadConverter", | ||
"methods":[{"name":"<init>","parameterTypes":[] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.joran.action.AppenderAction"}, | ||
"name":"ch.qos.logback.core.ConsoleAppender", | ||
"methods":[{"name":"<init>","parameterTypes":[] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.joran.util.beans.BeanDescriptionFactory"}, | ||
"name":"ch.qos.logback.core.ConsoleAppender", | ||
"queryAllPublicMethods":true | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.joran.util.PropertySetter"}, | ||
"name":"ch.qos.logback.core.OutputStreamAppender", | ||
"methods":[{"name":"setEncoder","parameterTypes":["ch.qos.logback.core.encoder.Encoder"] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.joran.action.NestedComplexPropertyIA"}, | ||
"name":"ch.qos.logback.core.encoder.Encoder", | ||
"methods":[{"name":"valueOf","parameterTypes":["java.lang.String"] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.joran.util.PropertySetter"}, | ||
"name":"ch.qos.logback.core.encoder.LayoutWrappingEncoder", | ||
"methods":[{"name":"setParent","parameterTypes":["ch.qos.logback.core.spi.ContextAware"] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.joran.util.PropertySetter"}, | ||
"name":"ch.qos.logback.core.pattern.PatternLayoutEncoderBase", | ||
"methods":[{"name":"setPattern","parameterTypes":["java.lang.String"] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.joran.action.NestedComplexPropertyIA"}, | ||
"name":"ch.qos.logback.core.spi.ContextAware", | ||
"methods":[{"name":"valueOf","parameterTypes":["java.lang.String"] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"ch.qos.logback.core.joran.action.StatusListenerAction"}, | ||
"name":"ch.qos.logback.core.status.NopStatusListener", | ||
"methods":[{"name":"<init>","parameterTypes":[] }] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
...esources/META-INF/native-image/org.apache.calcite/calcite-core/1.35.0/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
...image/org.apache.shardingsphere.elasticjob/elasticjob-lite-core/3.0.4/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
~ Licensed to the Apache Software Foundation (ASF) under one or more | ||
~ contributor license agreements. See the NOTICE file distributed with | ||
~ this work for additional information regarding copyright ownership. | ||
~ The ASF licenses this file to You under the Apache License, Version 2.0 | ||
~ (the "License"); you may not use this file except in compliance with | ||
~ the License. You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<configuration> | ||
<statusListener class="ch.qos.logback.core.status.NopStatusListener" /> | ||
<appender name="console" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
<logger name="org.apache.shardingsphere" level="warn" additivity="false"> | ||
<appender-ref ref="console" /> | ||
</logger> | ||
|
||
<root> | ||
<level value="error" /> | ||
<appender-ref ref="console" /> | ||
</root> | ||
</configuration> |