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

Re-entrance of SourceTypeBinding.methods() causes errors to be reported repeatedly

Open
#719 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

Work on #710 shows that some duplicate error logs are actually *expected* from tests.

One example is `org.eclipse.jdt.core.tests.compiler.regression.AnnotationTest.testBug376429a()` where it turns out that repeated reporting is caused by re-entrant STB.methods() calls.

We have some code complexity in place to cope with this situation, but the fact of duplicate error reports indicates that this may not be fully clean.

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.