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

MethodVerifyTest.test332744b() fails with JDK 21

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

Description

The test has started failing with the following error:

```
InternalEList e = (InternalEList) fm;\r\n
^^^^^^^^^^^^^^^^^^\n
Cannot cast from FeatureMap to InternalEList
```

This fails only with compliance 1.5+. It appears that the introduction of SequencedCollection to List's hierarchy is contributing to this.

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.