[
https://issues.apache.org/jira/browse/FLINK-38386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Nuyanzin resolved FLINK-38386.
-------------------------------------
Fix Version/s: 2.2.0
Resolution: Fixed
> Cannot attach type annotations
> @org.checkerframework.checker.nullness.qual.Nullable
> -----------------------------------------------------------------------------------
>
> Key: FLINK-38386
> URL: https://issues.apache.org/jira/browse/FLINK-38386
> Project: Flink
> Issue Type: Sub-task
> Components: Build System
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.2.0
>
>
> It seems jdk23+ is more demanding to classes in imports
> this starts failing with jdk23+ for flink-table-calcite-bridge
> {noformat}
> Compilation failure
> [ERROR] Cannot attach type annotations
> @org.checkerframework.checker.nullness.qual.Nullable to
> org.apache.calcite.tools.FrameworkConfig.getTraitDefs:
> [ERROR] class file for com.google.common.collect.ImmutableList not found
> {noformat}
> and similar for flink-sql-parser
> {noformat}
> Compilation failure
> [ERROR] /java.base/java/lang/ThreadLocal.class: Cannot attach type
> annotations @org.checkerframework.checker.nullness.qual.Nullable to
> org.apache.calcite.util.trace.CalciteTrace.DYNAMIC_HANDLER:
> [ERROR] class file for org.apache.calcite.linq4j.function.Function2 not
> found
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)