Allow wayang project to be built and run on a JDK21

Open
#867 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
hadoop, java, scala, spark
Domain
build-system

Research direction

The Scala version is pinned in the root Maven build (pom.xml), and the JDK target is set alongside it; start there. Bump the Scala version to 2.12.18 and check the JDK compile settings so classes stay at Java 17 bytecode. Done when the test suite passes on JDK 21 and the build still targets JDK 17.

Written by the indexing model from the issue text.

Description

Right now, the project is pinned to JDK17 for compile and runtime. Tests will fail if you try to run it on JDK21 due to failures from the scala version (2.12.17) used. We need scala 2.12.18 to run on JDK21.

https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html

We should keep the compiled class versions compatible with JDK17. Upgrading to run on JDK25 is probably doable too, but it is best to upgrade JDK stepwise so this issue is just upgrading to run on 21.

Dominant language
Java
Stars
284
Forks
147
Avg merge
2d 13h
Merged PRs (30d)
13

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/wayang

All issues in apache/wayang

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.