-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[23] ECJ rejects 'module' as top level package in an import statement #2610
[23] ECJ rejects 'module' as top level package in an import statement #2610
Conversation
Build failed with
However, org.eclipse.jdt.core.tests.builder was not touched, so why the different content?? |
That failure is persistent (see previous comment). @jarthana I'm sensing a dejavu of having discusses this just recently, but can't remember any details (I'm getting old). Master has bumped tests.builder to 3.12.500 on 2024-06-12. Do we need this merged into the beta branch for builds to succeed? @iloveeclipse do we know, against which baseline the beta branch is compared? Is it something like the latest I-build on master? |
Error message is the same as in eclipse-tycho/tycho#1053 which was said not to be a tycho issue, but an issue of building a version that cannot be matched in the baseline, IIUC. |
I have done a merge now. Let me do a rebase of this PR. I see a rebase force-push this. Hope you are OK with a force-push in this scenario :) |
69fe9a2
to
0cf166e
Compare
Done :) None of my objections against force-push are at play here (no ongoing review, no references to commits that are destroyed by the force-push, no risk of mixing rebase with unrelated code changes ...) |
Looks like the merge didn't go well. I am looking into the tests failures. Will release a fix shortly and rebase this again. Sorry for the trouble. |
Thanks for looking into it. |
OK, turns out the merge was alright. It's just that some of the changes for primitive pattern doesn't go well with some commits from master, notably 74f90bf. I will take help from @srikanth-sankaran and @mpalat to resolve this. |
@jarthana there are API issues in merge -I get around 14 errors due to API assuming a 4.32 baseline. One is on ModuleRead. |
I will take a look at the PrimitiveTest failures. |
@mpalat called to ask for some clarifications. Armed with them, he is investigating the failures seen in primitive type patterns. FYU |
I have created #2633 for ASTRewrite failure which are unrelated to codegen |
I still (here and elsewhere) from SuperAfterStatementsTest:
assumably caused by this in since_22.add(SuperAfterStatementsTest.class);
since_22.add(SwitchPatternTest21.class);
ArrayList since_23 = new ArrayList();
since_23.add(SuperAfterStatementsTest.class); which looks like at 23 we are simply executing the same test class twice. I'm puzzled because I seem to remember that this had been fixed recently, no? |
Thanks @stephan-herrmann for the analysis - was off yesterday unexpectedly and hence had a pause for a day - expecting to fix all the failures with this issue itself |
This error is coming from comparator. we were using tycho-p2:p2-metadata for comparator. The filter for signature files was set at https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/eclipse-platform-parent/pom.xml#L551-L554 In this case we got the error from tycho-p2-extras:compare-version-with-baselines We will need to add similar filter in the configuration of tycho-p2-extras:compare-version-with-baselines. Probably need a change in https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/eclipse-platform-parent/pom.xml#L379 |
For now please add the following plugin configuration after Line 93 in 85fef6b
|
Thanks @sravanlakkimsetti - this worked! Finally a solution at the end of the saga! @MohananRahul It maybe a good idea to record this solution in a troubleshooting guide for our own purpose. |
bb3e25b
to
872ad76
Compare
This should not be required. We do have 2 comparator checks The first one already had the ignoredPatterns so the newly built bundle should have been replaced with the baseline. But in this case We are seeing
This clearly indicating p2-metadata plugin is not able to find the baseline version though it present in the baseline see org.eclipse.jdt.apt.pluggable.core_1.4.400.v20240321-1252.jar This is definitely a bug in tycho with p2-metadata |
Can someone help me understand if BETA_JAVA23 is in any consistent state to get this bug fix merged? If that branch is generally ill at health, perhaps we should create (should have) a separate issue for fundamental branch work?? |
Not sure which problem you have, but your PR is behind 1b14b69. Try to rebase on latest state, and if the problem is still there, comment what exact problem you see. |
This PR is swamped with pages of comments relating to various build failures, none of which is related to my change, but each of the issues has block this PR. That's my problem :) |
872ad76
to
cd34c40
Compare
Perhaps @mpalat knows better. I see the failure gone and just one API warning left, which I remember seeing in master as well. |
Failing checks moved to #2657 |
52f1c7e
into
eclipse-jdt:BETA_JAVA23
fixes #2607