-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added native image configuration and new method for registering core …
…classes in ParaObjectUtils
- Loading branch information
Showing
13 changed files
with
2,518 additions
and
72 deletions.
There are no files selected for viewing
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
22 changes: 22 additions & 0 deletions
22
para-core/src/main/resources/META-INF/native-image/com.erudika/para-core/jni-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,22 @@ | ||
[ | ||
{ | ||
"name":"com.sun.management.VMOption$Origin", | ||
"fields":[{"name":"ATTACH_ON_DEMAND"}, {"name":"CONFIG_FILE"}, {"name":"DEFAULT"}, {"name":"ENVIRON_VAR"}, {"name":"ERGONOMIC"}, {"name":"MANAGEMENT"}, {"name":"OTHER"}, {"name":"VM_CREATION"}] | ||
}, | ||
{ | ||
"name":"com.sun.management.internal.Flag", | ||
"methods":[{"name":"<init>","parameterTypes":["java.lang.String","java.lang.Object","boolean","boolean","com.sun.management.VMOption$Origin"] }] | ||
}, | ||
{ | ||
"name":"java.lang.Boolean", | ||
"methods":[{"name":"<init>","parameterTypes":["boolean"] }, {"name":"getBoolean","parameterTypes":["java.lang.String"] }] | ||
}, | ||
{ | ||
"name":"java.lang.Long", | ||
"methods":[{"name":"<init>","parameterTypes":["long"] }] | ||
}, | ||
{ | ||
"name":"sun.management.VMManagementImpl", | ||
"fields":[{"name":"compTimeMonitoringSupport"}, {"name":"currentThreadCpuTimeSupport"}, {"name":"objectMonitorUsageSupport"}, {"name":"otherThreadCpuTimeSupport"}, {"name":"remoteDiagnosticCommandsSupport"}, {"name":"synchronizerUsageSupport"}, {"name":"threadAllocatedMemorySupport"}, {"name":"threadContentionMonitoringSupport"}] | ||
} | ||
] |
28 changes: 28 additions & 0 deletions
28
...re/src/main/resources/META-INF/native-image/com.erudika/para-core/native-image.properties
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,28 @@ | ||
Args=\ | ||
-H:+AddAllCharsets \ | ||
-H:+ReportExceptionStackTraces \ | ||
--initialize-at-build-time=ch.qos.logback,\ | ||
org.apache.log4j.Logger,\ | ||
org.slf4j,\ | ||
org.jsoup,\ | ||
com.typesafe.config,\ | ||
com.fasterxml.jackson,\ | ||
org.apache.commons.logging.impl.Jdk14Logger,\ | ||
org.apache.velocity.runtime.resource.ResourceManagerImpl,\ | ||
org.hibernate.validator.constraints.CodePointLength$NormalizationStrategy,\ | ||
com.vladsch.flexmark,\ | ||
com.vladsch.flexmark.util,\ | ||
com.vladsch.flexmark.parser,\ | ||
com.vladsch.flexmark.ext,\ | ||
com.vladsch.flexmark.html,\ | ||
com.vladsch.flexmark.ast.util,\ | ||
org.sqlite.util.ProcessRunner,\ | ||
org.apache.commons.collections.bidimap.DualHashBidiMap,\ | ||
org.apache.commons.collections.bidimap.AbstractDualBidiMap$EntrySet,\ | ||
org.apache.commons.collections.bidimap.AbstractDualBidiMap$Values,\ | ||
org.hibernate.validator.constraints.CodePointLength$NormalizationStrategy,\ | ||
org.apache.velocity.runtime.resource.ResourceManagerImpl,\ | ||
org.xml.sax.helpers,\ | ||
org.yaml.snakeyaml \ | ||
--initialize-at-run-time=com.vladsch.flexmark.util.sequence.Escaping | ||
|
8 changes: 8 additions & 0 deletions
8
...main/resources/META-INF/native-image/com.erudika/para-core/predefined-classes-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,8 @@ | ||
[ | ||
{ | ||
"type":"agent-extracted", | ||
"classes":[ | ||
] | ||
} | ||
] | ||
|
5 changes: 5 additions & 0 deletions
5
para-core/src/main/resources/META-INF/native-image/com.erudika/para-core/proxy-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,5 @@ | ||
[ | ||
{ | ||
"interfaces":["java.lang.reflect.ParameterizedType","org.springframework.core.SerializableTypeWrapper$SerializableTypeProxy","java.io.Serializable"] | ||
} | ||
] |
Oops, something went wrong.