-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build the file system of
resource
in some specific classes using `j…
…ava.net.URL`
- Loading branch information
1 parent
0d233a9
commit 9f8b795
Showing
10 changed files
with
293 additions
and
127 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
142 changes: 142 additions & 0 deletions
142
...rces/META-INF/native-image/shardingsphere-infra-nativetest-test-image/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,142 @@ | ||
[ | ||
{ | ||
"name":"org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository", | ||
"allDeclaredClasses": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredConstructors": true, | ||
"allPublicClasses": true, | ||
"allPublicMethods": true, | ||
"allPublicFields": true, | ||
"allPublicConstructors": true, | ||
"allRecordComponents": true, | ||
"allNestMembers": true, | ||
"allSigners": true, | ||
"allPermittedSubclasses": true, | ||
"queryAllDeclaredMethods": true, | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicMethods": true, | ||
"queryAllPublicConstructors": true, | ||
"unsafeAllocated": true | ||
}, | ||
{ | ||
"name":"org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader", | ||
"allDeclaredClasses": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredConstructors": true, | ||
"allPublicClasses": true, | ||
"allPublicMethods": true, | ||
"allPublicFields": true, | ||
"allPublicConstructors": true, | ||
"allRecordComponents": true, | ||
"allNestMembers": true, | ||
"allSigners": true, | ||
"allPermittedSubclasses": true, | ||
"queryAllDeclaredMethods": true, | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicMethods": true, | ||
"queryAllPublicConstructors": true, | ||
"unsafeAllocated": true | ||
}, | ||
{ | ||
"name":"org.apache.shardingsphere.mode.manager.standalone.NewStandaloneContextManagerBuilder", | ||
"allDeclaredClasses": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredConstructors": true, | ||
"allPublicClasses": true, | ||
"allPublicMethods": true, | ||
"allPublicFields": true, | ||
"allPublicConstructors": true, | ||
"allRecordComponents": true, | ||
"allNestMembers": true, | ||
"allSigners": true, | ||
"allPermittedSubclasses": true, | ||
"queryAllDeclaredMethods": true, | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicMethods": true, | ||
"queryAllPublicConstructors": true, | ||
"unsafeAllocated": true | ||
}, | ||
{ | ||
"name":"org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource", | ||
"allDeclaredClasses": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredConstructors": true, | ||
"allPublicClasses": true, | ||
"allPublicMethods": true, | ||
"allPublicFields": true, | ||
"allPublicConstructors": true, | ||
"allRecordComponents": true, | ||
"allNestMembers": true, | ||
"allSigners": true, | ||
"allPermittedSubclasses": true, | ||
"queryAllDeclaredMethods": true, | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicMethods": true, | ||
"queryAllPublicConstructors": true, | ||
"unsafeAllocated": true | ||
}, | ||
{ | ||
"name":"org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory", | ||
"allDeclaredClasses": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredConstructors": true, | ||
"allPublicClasses": true, | ||
"allPublicMethods": true, | ||
"allPublicFields": true, | ||
"allPublicConstructors": true, | ||
"allRecordComponents": true, | ||
"allNestMembers": true, | ||
"allSigners": true, | ||
"allPermittedSubclasses": true, | ||
"queryAllDeclaredMethods": true, | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicMethods": true, | ||
"queryAllPublicConstructors": true, | ||
"unsafeAllocated": true | ||
}, | ||
{ | ||
"name":"org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory", | ||
"allDeclaredClasses": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredConstructors": true, | ||
"allPublicClasses": true, | ||
"allPublicMethods": true, | ||
"allPublicFields": true, | ||
"allPublicConstructors": true, | ||
"allRecordComponents": true, | ||
"allNestMembers": true, | ||
"allSigners": true, | ||
"allPermittedSubclasses": true, | ||
"queryAllDeclaredMethods": true, | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicMethods": true, | ||
"queryAllPublicConstructors": true, | ||
"unsafeAllocated": true | ||
}, | ||
{ | ||
"name":"org.apache.shardingsphere.mode.repository.standalone.jdbc.sql.JDBCRepositorySQLLoader", | ||
"allDeclaredClasses": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredConstructors": true, | ||
"allPublicClasses": true, | ||
"allPublicMethods": true, | ||
"allPublicFields": true, | ||
"allPublicConstructors": true, | ||
"allRecordComponents": true, | ||
"allNestMembers": true, | ||
"allSigners": true, | ||
"allPermittedSubclasses": true, | ||
"queryAllDeclaredMethods": true, | ||
"queryAllDeclaredConstructors": true, | ||
"queryAllPublicMethods": true, | ||
"queryAllPublicConstructors": true, | ||
"unsafeAllocated": true | ||
} | ||
] |
19 changes: 19 additions & 0 deletions
19
...ces/META-INF/native-image/shardingsphere-infra-nativetest-test-image/resource-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,19 @@ | ||
{ | ||
"resources":{ | ||
"includes":[{ | ||
"pattern":"\\Qsql/H2.xml\\E" | ||
}, { | ||
"pattern":"\\Qsql/MySQL.xml\\E" | ||
}, { | ||
"pattern":"\\Qyaml/encrypt.yaml\\E" | ||
}, { | ||
"pattern":"\\Qyaml/mask.yaml\\E" | ||
}, { | ||
"pattern":"\\Qyaml/readwrite-splitting.yaml\\E" | ||
}, { | ||
"pattern":"\\Qyaml/shadow.yaml\\E" | ||
}, { | ||
"pattern":"\\Qyaml/sharding.yaml\\E" | ||
}]}, | ||
"bundles":[] | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
{ | ||
"interfaces":["java.sql.Connection"] | ||
} | ||
] | ||
] |
Oops, something went wrong.