Sergey Nuyanzin created CALCITE-6387:
----------------------------------------

             Summary: Calcite build while compiliation with jdk11+
                 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


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)

Reply via email to