[
https://issues.apache.org/jira/browse/CALCITE-6387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841655#comment-17841655
]
Sergey Nuyanzin commented on CALCITE-6387:
------------------------------------------
Merged as
[3e633f627814ca79d1e2c592cd2ce1384717d6ca|https://github.com/apache/calcite/commit/3e633f627814ca79d1e2c592cd2ce1384717d6ca]
> Calcite build while compiliation with jdk17+
> --------------------------------------------
>
> Key: CALCITE-6387
> URL: https://issues.apache.org/jira/browse/CALCITE-6387
> Project: Calcite
> Issue Type: Bug
> Affects Versions: 1.36.0
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
>
> The issue appears with newly added Arrow adapter which requires
> {noformat}
> --add-opens=java.base/java.nio=ALL-UNNAMED
> {noformat}
> could be fixed with adding
> {noformat}
> plugins.withType<JavaPlugin> {
> tasks {
> configureEach<Test> {
> jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
> jvmArgs("--add-opens=java.base/java.nio=ALL-UNNAMED")
> }
> }
> }
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)