eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Fix test testElementsWithSystemCompiler() failing with JDK 21

Open
#1,306 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

org.eclipse.jdt.compiler.apt.tests.ModelUtilTests.testElementsWithSystemCompiler() has started failing with JDK 21. It appears that the Javadoc returned by Javac for a private field has changed between JDK 20 and 21.

We need to investigate what is causing this and whether or not ECJ should adapt this change or it's a bug on Javac. For the time being, I will comment out the test to unblock me (pull #1252).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.