eclipse-jdt / eclipse.jdt.core

Eclipse Public License 2.0
156 stars 123 forks source link

MethodVerifyTest.test332744b() fails with JDK 21 #1310

Open jarthana opened 1 year ago

jarthana commented 1 year ago

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.

jarthana commented 1 year ago

@stephan-herrmann Is this something you would know about?

Copying @srikanth-sankaran also.

P.S. It turns out the test in question was added by @srikanth-sankaran for https://bugs.eclipse.org/bugs/show_bug.cgi?id=332744

iloveeclipse commented 1 year ago

It turns out the test in question was added by

What goes around, comes around :-)

srikanth-sankaran commented 11 months ago

@jarthana has this been sorted out ?

jarthana commented 11 months ago

@jarthana has this been sorted out ?

No, not yet.

srikanth-sankaran commented 11 months ago

I see. Let me know if you need any help there.