Closed iloveeclipse closed 2 weeks ago
@subyssurendran666 , @mpalat : please check. We have M2 this week, it would be nice to have the fix before Thursday.
We still cannot run the build without lots of errors.
Do we have some additional errors now caused by a different issue as before?
I can verify that BindingNamesTest now fails locally. It cannot find X which is a class in the default package. This failure was introduced somewhere after commit f6fe3c8fee3d83b2478db25e where the test works.
I should have clarified that the commit in question is from jdt.core
Do we have some additional errors now caused by a different issue as before?
Yes, we do, after merging https://github.com/eclipse-jdt/eclipse.jdt.core/pull/2551 I'm working on fixing tests, first batch is https://github.com/eclipse-jdt/eclipse.jdt.ui/pull/1543
I fear removing support for a java version enforces changes in a couple of junit tests in jdt.ui. In some cases one test for a certain way to process code has been implemented eg in a Java 7 test configuration and another one in Java 8 configuration. Now removing the test for Java 7 is no big deal as this is no longer a valid environment. But the Java 8 based Test configuration might still represent behavior in latest Java versions and should not get lost. Now there is no way to see on a test if it is still representing a valid test case that should be migrated to a Java 17 Test configuration. I guess the Test configuration concept needs a review at least for jdt.ui.
@jjohnstn : could you please check MoveMembersTests fails?
@iloveeclipse I'll check
Both failures are due to using 1.8 which added the ability to have static members in interfaces (fails < 1.8). I'll put together a fix for the test.
Closing as failures do not occur in 20241027-1800
Following tests
CleanUpTest16.testOneIfWithPatternInstanceof
MoveInnerToTopLevelTests16.test_Bug572639_2
SurroundWithTests16.testBug566949_1
SurroundWithTests16.testBug566949_2
fail since I20240722-0320 on all platforms.
Regression from https://github.com/eclipse-jdt/eclipse.jdt.core/pull/2688 / commit 8e630b6c235edaf7d6e757442b1ee2c5761b6021.
@subyssurendran666 , @mpalat : please check.