linghengqian opened a new pull request, #35133: URL: https://github.com/apache/shardingsphere/pull/35133
For #26041 . Changes proposed in this pull request: - Migrate from `jsr305` to `jspecify` and `error_prone_annotations`. For more background, see https://github.com/google/guava/issues/2960 , Guava no longer uses `com.google.code.findbugs:jsr305`. - The current PR is unfortunately affected by https://github.com/immutables/immutables/issues/1403 and https://github.com/immutables/immutables/issues/1500 . ```shell [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project shardingsphere-sql-federation-optimizer: Compilation failure: Compilation failure: [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushFilterIntoScanRule.java:[8,24] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 程序包 javax.annotation [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushProjectIntoScanRule.java:[8,24] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 程序包 javax.annotation [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushFilterIntoScanRule.java:[34,20] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 类 org.apache.shardingsphere.sqlfederation.optimizer.planner.rule.transformation.ImmutablePushFilterIntoScanRule.Config [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushFilterIntoScanRule.java:[52,10] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 类 org.apache.shardingsphere.sqlfederation.optimizer.planner.rule.transformation.ImmutablePushFilterIntoScanRule.Config [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushFilterIntoScanRule.java:[135,13] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 类 org.apache.shardingsphere.sqlfederation.optimizer.planner.rule.transformation.ImmutablePushFilterIntoScanRule.Config [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushFilterIntoScanRule.java:[168,74] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 类 org.apache.shardingsphere.sqlfederation.optimizer.planner.rule.transformation.ImmutablePushFilterIntoScanRule.Config [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushFilterIntoScanRule.java:[357,41] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 类 org.apache.shardingsphere.sqlfederation.optimizer.planner.rule.transformation.ImmutablePushFilterIntoScanRule.Config.Builder [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushProjectIntoScanRule.java:[34,20] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 类 org.apache.shardingsphere.sqlfederation.optimizer.planner.rule.transformation.ImmutablePushProjectIntoScanRule.Config [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushProjectIntoScanRule.java:[52,10] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 类 org.apache.shardingsphere.sqlfederation.optimizer.planner.rule.transformation.ImmutablePushProjectIntoScanRule.Config [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushProjectIntoScanRule.java:[135,13] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 类 org.apache.shardingsphere.sqlfederation.optimizer.planner.rule.transformation.ImmutablePushProjectIntoScanRule.Config [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushProjectIntoScanRule.java:[168,75] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 类 org.apache.shardingsphere.sqlfederation.optimizer.planner.rule.transformation.ImmutablePushProjectIntoScanRule.Config [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushProjectIntoScanRule.java:[357,41] 找不到符号 [ERROR] 符号: 类 Nullable [ERROR] 位置: 类 org.apache.shardingsphere.sqlfederation.optimizer.planner.rule.transformation.ImmutablePushProjectIntoScanRule.Config.Builder [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushFilterIntoScanRule.java:[269,60] 无法使用 type-use 批注 @org.jspecify.annotations.Nullable 来批注确定作用域结构 [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushFilterIntoScanRule.java:[270,57] 无法使用 type-use 批注 @org.jspecify.annotations.Nullable 来批注确定作用域结构 [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushProjectIntoScanRule.java:[269,60] 无法使用 type-use 批注 @org.jspecify.annotations.Nullable 来批注确定作用域结构 [ERROR] /D:/TwinklingLiftWorks/git/public/shardingsphere/kernel/sql-federation/optimizer/target/generated-sources/annotations/org/apache/shardingsphere/sqlfederation/optimizer/planner/rule/transformation/ImmutablePushProjectIntoScanRule.java:[270,57] 无法使用 type-use 批注 @org.jspecify.annotations.Nullable 来批注确定作用域结构 ``` --- Before committing this PR, I'm sure that I have checked the following options: - [x] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) of this project. - [x] I have self-reviewed the commit code. - [x] I have (or in comment I request) added corresponding labels for the pull request. - [x] I have passed maven check locally : `./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e`. - [ ] I have made corresponding changes to the documentation. - [x] I have added corresponding unit tests for my changes. - [ ] I have updated the Release Notes of the current development version. For more details, see [Update Release Note](https://shardingsphere.apache.org/community/en/involved/contribute/contributor/) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@shardingsphere.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org