-
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.
Add GraalVM Reachability Metadata and corresponding nativeTest for Fi…
…rebird (#34307) * Add GraalVM Reachability Metadata and corresponding nativeTest for Firebird * Fix the connection leak problem caused by improper configuration of unit test lifecycle
- Loading branch information
1 parent
7ef227a
commit 98a94fc
Showing
40 changed files
with
1,683 additions
and
982 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
558 changes: 300 additions & 258 deletions
558
...ative-image/org.apache.shardingsphere/generated-reachability-metadata/reflect-config.json
Large diffs are not rendered by default.
Oops, something went wrong.
799 changes: 392 additions & 407 deletions
799
...tive-image/org.apache.shardingsphere/generated-reachability-metadata/resource-config.json
Large diffs are not rendered by default.
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
108 changes: 108 additions & 0 deletions
108
...ources/META-INF/native-image/org.firebirdsql.jdbc/jaybird/5.0.6.java8/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,108 @@ | ||
[ | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.encodings.EncodingFactory"}, | ||
"name":"org.firebirdsql.encodings.DefaultEncodingSet" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.impl.GDSFactory"}, | ||
"name":"org.firebirdsql.gds.impl.jni.EmbeddedGDSFactoryPlugin" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.impl.GDSFactory"}, | ||
"name":"org.firebirdsql.gds.impl.jni.NativeGDSFactoryPlugin" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.impl.GDSFactory"}, | ||
"name":"org.firebirdsql.gds.impl.oo.OOGDSFactoryPlugin" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.impl.GDSFactory"}, | ||
"name":"org.firebirdsql.gds.impl.wire.WireGDSFactoryPlugin" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.auth.ClientAuthBlock"}, | ||
"name":"org.firebirdsql.gds.ng.wire.auth.legacy.LegacyAuthenticationPluginSpi" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.auth.ClientAuthBlock"}, | ||
"name":"org.firebirdsql.gds.ng.wire.auth.srp.Srp224AuthenticationPluginSpi" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.auth.ClientAuthBlock"}, | ||
"name":"org.firebirdsql.gds.ng.wire.auth.srp.Srp256AuthenticationPluginSpi" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.auth.ClientAuthBlock"}, | ||
"name":"org.firebirdsql.gds.ng.wire.auth.srp.Srp384AuthenticationPluginSpi" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.auth.ClientAuthBlock"}, | ||
"name":"org.firebirdsql.gds.ng.wire.auth.srp.Srp512AuthenticationPluginSpi" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.auth.ClientAuthBlock"}, | ||
"name":"org.firebirdsql.gds.ng.wire.auth.srp.SrpAuthenticationPluginSpi" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.version13.V13WireOperations"}, | ||
"name":"org.firebirdsql.gds.ng.wire.crypt.arc4.Arc4EncryptionPluginSpi", | ||
"methods":[{"name":"<init>","parameterTypes":[] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.version13.V13WireOperations"}, | ||
"name":"org.firebirdsql.gds.ng.wire.crypt.chacha.ChaChaEncryptionPluginSpi" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.ProtocolCollection"}, | ||
"name":"org.firebirdsql.gds.ng.wire.version10.Version10Descriptor" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.ProtocolCollection"}, | ||
"name":"org.firebirdsql.gds.ng.wire.version11.Version11Descriptor" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.ProtocolCollection"}, | ||
"name":"org.firebirdsql.gds.ng.wire.version12.Version12Descriptor" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.ProtocolCollection"}, | ||
"name":"org.firebirdsql.gds.ng.wire.version13.Version13Descriptor" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.ProtocolCollection"}, | ||
"name":"org.firebirdsql.gds.ng.wire.version15.Version15Descriptor" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.ProtocolCollection"}, | ||
"name":"org.firebirdsql.gds.ng.wire.version16.Version16Descriptor" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.ProtocolCollection"}, | ||
"name":"org.firebirdsql.gds.ng.wire.version18.Version18Descriptor" | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.jaybird.props.internal.UnregisteredDpbDefiner"}, | ||
"name":"org.firebirdsql.jaybird.fb.constants.DpbItems", | ||
"allPublicFields":true | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.jaybird.props.internal.UnregisteredDpbDefiner"}, | ||
"name":"org.firebirdsql.jaybird.fb.constants.SpbItems", | ||
"allPublicFields":true | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.jaybird.xca.FBManagedConnection"}, | ||
"name":"org.firebirdsql.jaybird.xca.FBManagedConnection", | ||
"fields":[{"name":"connectionHandle"}, {"name":"unnotifiedWarnings"}] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.jaybird.xca.FBManagedConnectionFactory"}, | ||
"name":"org.firebirdsql.jdbc.FBConnection", | ||
"methods":[{"name":"<init>","parameterTypes":["org.firebirdsql.jaybird.xca.FBManagedConnection"] }] | ||
}, | ||
{ | ||
"condition":{"typeReachable":"org.firebirdsql.jdbc.FBConnection"}, | ||
"name":"org.firebirdsql.jdbc.FBConnection", | ||
"fields":[{"name":"savepointCounter"}] | ||
} | ||
] |
50 changes: 50 additions & 0 deletions
50
...urces/META-INF/native-image/org.firebirdsql.jdbc/jaybird/5.0.6.java8/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,50 @@ | ||
{ | ||
"resources":{ | ||
"includes":[{ | ||
"condition":{"typeReachable":"org.firebirdsql.encodings.EncodingFactory"}, | ||
"pattern":"\\QMETA-INF/services/org.firebirdsql.encodings.EncodingSet\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.gds.impl.GDSFactory"}, | ||
"pattern":"\\QMETA-INF/services/org.firebirdsql.gds.impl.GDSFactoryPlugin\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.ProtocolCollection"}, | ||
"pattern":"\\QMETA-INF/services/org.firebirdsql.gds.ng.wire.ProtocolDescriptor\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.gds.ng.wire.auth.ClientAuthBlock"}, | ||
"pattern":"\\QMETA-INF/services/org.firebirdsql.gds.ng.wire.auth.AuthenticationPluginSpi\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.jaybird.props.internal.ConnectionPropertyRegistry"}, | ||
"pattern":"\\QMETA-INF/services/org.firebirdsql.jaybird.props.spi.ConnectionPropertyDefinerSpi\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.gds.MessageLoader"}, | ||
"pattern":"\\Qisc_error_msg.properties\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.gds.MessageLoader"}, | ||
"pattern":"\\Qisc_error_sqlstates.properties\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.jaybird.Version"}, | ||
"pattern":"\\Qorg/firebirdsql/jaybird/version.properties\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.jaybird.Version"}, | ||
"pattern":"\\Qorg/firebirdsql/jaybird/version_zh.properties\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.jaybird.Version"}, | ||
"pattern":"\\Qorg/firebirdsql/jaybird/version_zh_CN.properties\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.jaybird.Version"}, | ||
"pattern":"\\Qorg/firebirdsql/jaybird/version_zh_Hans.properties\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.jaybird.Version"}, | ||
"pattern":"\\Qorg/firebirdsql/jaybird/version_zh_Hans_CN.properties\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.gds.MessageLoader"}, | ||
"pattern":"\\Qorg/firebirdsql/jaybird_error_msg.properties\\E" | ||
}, { | ||
"condition":{"typeReachable":"org.firebirdsql.gds.MessageLoader"}, | ||
"pattern":"\\Qorg/firebirdsql/jaybird_error_sqlstates.properties\\E" | ||
}]}, | ||
"bundles":[{ | ||
"name":"org.firebirdsql.jaybird.version", | ||
"locales":["zh-CN", "en"] | ||
}] | ||
} |
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
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
Oops, something went wrong.