Skip to content

Commit 3255f7f

Browse files
authored
Add logback classes that are initialized at build time (Azure#36231)
* Add logback classes that are initialized at build time * add more jackson classes to build time
1 parent 4792bff commit 3255f7f

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed
Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
Args=\
2-
--allow-incomplete-classpath \
32
--report-unsupported-elements-at-runtime \
43
-H:+AddAllCharsets \
54
-H:+ReportUnsupportedElementsAtRuntime \
65
-H:+ReportExceptionStackTraces \
7-
--initialize-at-build-time=org.apache.log4j.Logger,\
6+
--initialize-at-build-time=ch.qos.logback.classic.Level,\
7+
ch.qos.logback.classic.Logger,\
8+
ch.qos.logback.classic.PatternLayout,\
9+
ch.qos.logback.core.CoreConstants,\
10+
ch.qos.logback.core.spi.AppenderAttachableImpl,\
11+
ch.qos.logback.core.status.InfoStatus,\
12+
ch.qos.logback.core.status.StatusBase,\
13+
ch.qos.logback.core.util.Loader,\
14+
ch.qos.logback.core.util.StatusPrinter,\
15+
org.apache.log4j.Logger,\
16+
org.slf4j.MDC,\
817
org.slf4j.LoggerFactory,\
918
org.slf4j.impl.StaticLoggerBinder,\
1019
com.azure.core.util.logging.LogLevel,\
11-
ch.qos.logback.classic.Logger,\
1220
com.azure.core.implementation.logging.DefaultLogger,\
1321
com.azure.core.test.TestBase,\
1422
com.azure.core.util.Configuration,\
@@ -17,5 +25,13 @@ Args=\
1725
com.azure.core.util.CoreUtils,\
1826
com.azure.core.util.NoopConfiguration,\
1927
com.azure.core.util.logging.LoggingEventBuilder,\
28+
com.fasterxml.jackson.core.Base64Variants,\
29+
com.fasterxml.jackson.core.JsonFactory,\
30+
com.fasterxml.jackson.core.io.CharTypes,\
2031
com.fasterxml.jackson.core.io.JsonStringEncoder,\
21-
com.fasterxml.jackson.core.io.CharTypes
32+
com.fasterxml.jackson.core.io.SerializedString,\
33+
com.fasterxml.jackson.databind.MappingJsonFactory
34+
35+
36+
37+

0 commit comments

Comments
 (0)