[
https://issues.apache.org/jira/browse/CALCITE-6387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841600#comment-17841600
]
Sergey Nuyanzin commented on CALCITE-6387:
------------------------------------------
It looks like a different issue with temp dir removal
and not related to {{add-opens}} flags
at the same time build with jdk17 on Windows passes
https://github.com/apache/calcite/actions/runs/8861055229/job/24332518742?pr=3776
> 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
> 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)