[
https://issues.apache.org/jira/browse/CALCITE-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Sitnikov resolved CALCITE-4285.
----------------------------------------
Fix Version/s: 1.27.0
Resolution: Fixed
Fixed in
https://github.com/apache/calcite/commit/d9a81b88ad561e7e4cedae93e805e0d7a53a7f1a
Note: jsr305 is still available on the classpath since Guava still has jsr305
dependency. However, jsr305 must not be used in Calcite for both consistency
and type annotations reasons.
> Replace jsr305 dependency with checkerframework and errorprone_annotations
> --------------------------------------------------------------------------
>
> Key: CALCITE-4285
> URL: https://issues.apache.org/jira/browse/CALCITE-4285
> Project: Calcite
> Issue Type: Sub-task
> Components: core, druid-adapter
> Affects Versions: 1.25.0
> Reporter: Vladimir Sitnikov
> Priority: Major
> Fix For: 1.27.0
>
>
> jsr305 does not support type annotations, so it can't be used like
> {{List<@Nullable String>}}, and it results in duplicate {{@Nullable}}
> annotations on the classpath (checkerframework and jsr305)
> The solution is to use {{checkerframework}} for nullability, and
> {{errorprone}} annotations for dataflow-like checks (e.g.
> {{@CheckReturnValue}})
--
This message was sent by Atlassian Jira
(v8.3.4#803005)