You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Error: ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project shardingsphere-test-util: Fatal error compiling: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid' -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project shardingsphere-test-util: Fatal error compiling
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
Reason analyze (If you can)
Null.
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Switch to any OpenJDK 21 downstream distribution. Execute the following command.
Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
Expected behavior
Both Adoptium and GraalVM CE have created downstream builds of OpenJDK 21, time to validate OpenJDK 21 on the ShardingSphere side. Refer to https://adoptium.net/zh-CN/blog/2023/08/early-access-builds/ and https://github.com/graalvm/graalvm-ce-dev-builds/releases/tag/23.1.0-dev-20230817_2024 . Considering that GraalVM CE 23.1.0 only have OpenJDK21 binary, it is very suitable to intervene in the investigation of ShardingSphere Proxy Native in advance. Refer to Make ShardingSphere Proxy in GraalVM Native Image form available #21347 .
I created a small test at https://github.com/linghengqian/shardingsphere-jdk21-ea-ci-test and the results are at https://github.com/linghengqian/shardingsphere-jdk21-ea-ci-test/actions/runs/6003591784/job/16282365479 . Assume there are no errors reported for this CI.
Actual behavior
com.sun.tools.javac.tree.JCTree$JCImport
broke ShardingSphere builds on OpenJDK 21 EA.Refer to [BUG] lombok 1.8.26 incompatible with JDK21 projectlombok/lombok#3393 .
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
git clone -b master https://github.com/apache/shardingsphere.git cd ./shardingsphere/ git reset --hard 4563afd14d23d494f75f680c47a351cdd19893db ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e
Example codes for reproduce this issue (such as a github link).
The text was updated successfully, but these errors were encountered: