You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provided a new property `arrow.test.jdk-version` which specify a JDK
version to be used by surefire/failsafe plugins instead of the version
used to execute Maven.
As part of the change, also add a Java version for TestOpens to only be
executed if Java runtime version is 16 or greater
Also add a Testing section to the Java developer documentation
### Rationale for this change
This change allows to use a different JDK version for tests than the one used to build the project.
### What changes are included in this PR?
Provided a new property `arrow.test.jdk-version` which specify a JDK version to be used by surefire/failsafe plugins instead of the version used to execute Maven.
As part of the change, also add a Java version for `TestOpens` to only be executed if Java runtime version is 16 or greater
Also add a Testing section to the Java developer documentation
### Are these changes tested?
via CI/CD
### Are there any user-facing changes?
New build property `arrow.test.jdk-version` allows developers to specify the JDK version used for tests
* GitHub Issue: #43380
Lead-authored-by: Laurent Goujon <[email protected]>
Co-authored-by: Laurent Goujon <[email protected]>
Co-authored-by: David Li <[email protected]>
Co-authored-by: Dane Pitkin <[email protected]>
Signed-off-by: Dane Pitkin <[email protected]>
Describe the enhancement requested
Upgrade Java version used by toolchain to Java 21 or latest enhancement would require the ability to specify a different JDK version to be used for tests in order to retain the ability to validate Arrow against multiple Java versions.
To achieve this, Maven toolchains support for surefire/failsafe plugins can be used. This can be then be controlled by a build property.
Component(s)
Java
The text was updated successfully, but these errors were encountered: