eclipse-jdt / eclipse-jdt/eclipse.jdt.core
Java 20 no longer supports --target 7
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 49
Description
This effectively leads to Java 20 not being able to support --release 7 . Trying to do so fails with:
```
The project was not built due to "release 7 is not found in the system". Fix the problem, then try refreshing this project and building it since it may be inconsistent
```
as can be easily reproduced by e.g. running ModuleBuilderTests#testReleaseOption5
Contributor guide
Research direction
Start by running ModuleBuilderTests#testReleaseOption5 and inspect the release-option handling it exercises. Trace why Java 20 reports that release 7 is unavailable, then verify that the test and the described --release 7 scenario work as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100