GitHub user dosubot[bot] added a comment to the discussion: [Question] Java 17 
plans?

<!-- Greeting -->
Hey @imbajin! I'm here to assist you with any bugs, questions, or contributions 
you have. Let's work together to solve this!

<!-- Answer -->
The main challenge with running HugeGraph on Java 17 is the compatibility issue 
with the older version of Groovy (2.5.15) used by TinkerPop. Upgrading to 
TinkerPop Gremlin 3.7+, which uses Groovy 4.0.23, would resolve this issue. 
However, this upgrade involves potential changes and impacts, particularly on 
query statements and breaking changes.

The `run-tinkerpop-test.sh` script is used to execute TinkerPop-related tests, 
ensuring compatibility with Gremlin 3.7+. It runs specific test profiles to 
verify the structure and process compatibility with the upgraded Gremlin 
version 
<sup>[[1]](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/travis/run-tinkerpop-test.sh)</sup>.

The GitHub Actions workflow file (`server-ci.yml`) includes steps to run these 
TinkerPop tests, which are crucial for ensuring compatibility with the upgraded 
Gremlin version. The CI pipeline currently mentions Java 8, which may need 
updating to support Java 17 as the project evolves.

While the code is compatible with Java 17 in terms of building, the runtime 
issues due to the Groovy version remain. The maintainers have plans to upgrade 
TinkerPop but are currently addressing higher-priority issues. They are open to 
community contributions to expedite this process.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/50e9e203-7190-4750-a7ec-68be50d92b22?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/50e9e203-7190-4750-a7ec-68be50d92b22?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/50e9e203-7190-4750-a7ec-68be50d92b22?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/50e9e203-7190-4750-a7ec-68be50d92b22?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/50e9e203-7190-4750-a7ec-68be50d92b22?feedback_type=hallucination)
 | 
[Other](https://app.dosu.dev/response-feedback/50e9e203-7190-4750-a7ec-68be50d92b22?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2723#discussioncomment-11841940

----
This is an automatically sent email for dev@hugegraph.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@hugegraph.apache.org

Reply via email to