Skip to content
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

Build: I20231221-1800 Unstable #1686

Closed
iloveeclipse opened this issue Dec 22, 2023 · 14 comments
Closed

Build: I20231221-1800 Unstable #1686

iloveeclipse opened this issue Dec 22, 2023 · 14 comments
Assignees
Labels
bug Something isn't working regression Regression defect
Milestone

Comments

@iloveeclipse
Copy link
Member

Build: I20231221-1800 has comparator errors.

1.  equinox/bundles/org.eclipse.osgi/pom.xml
   no-classifier: different
      org/eclipse/osgi/internal/framework/SystemBundleActivator.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

2.  eclipse.platform.ui/bundles/org.eclipse.e4.ui.css.core/.polyglot.META-INF
   no-classifier: different
      org/eclipse/e4/ui/css/core/dom/properties/css2/AbstractCSSPropertyTextHandler.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

3.  eclipse.platform.ui/bundles/org.eclipse.e4.ui.css.swt/.polyglot.META-INF
   no-classifier: different
      org/eclipse/e4/ui/css/swt/dom/WidgetElement.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

4.  eclipse.platform/runtime/bundles/org.eclipse.core.expressions/.polyglot.META-INF
   no-classifier: different
      org/eclipse/core/internal/expressions/StandardElementHandler.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

5.  eclipse.platform.ui/bundles/org.eclipse.ui.workbench/.polyglot.META-INF
   no-classifier: different
      org/eclipse/ui/SelectionEnabler.class: different
      org/eclipse/ui/internal/ExtensionEventHandler.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

6.  eclipse.platform/ua/org.eclipse.ui.cheatsheets/pom.xml
   no-classifier: different
      org/eclipse/ui/internal/cheatsheets/data/CheatSheetParser.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

7.  eclipse.platform.ui/bundles/org.eclipse.text/.polyglot.META-INF
   no-classifier: different
      org/eclipse/jface/text/templates/TemplateTranslator.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

8.  eclipse.platform.ui/bundles/org.eclipse.ui.workbench.texteditor/.polyglot.META-INF
   no-classifier: different
      org/eclipse/ui/texteditor/AbstractTextEditor.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

9.  eclipse.jdt.debug/org.eclipse.jdt.launching/pom.xml
   no-classifier: different
      org/eclipse/jdt/internal/launching/environments/EnvironmentsManager.class: different
      org/eclipse/jdt/launching/JavaRuntime.class: different
      org/eclipse/jdt/launching/StandardSourcePathProvider.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

10.  eclipse.pde/ui/org.eclipse.pde.core/.polyglot.META-INF
   no-classifier: different
      org/eclipse/pde/internal/core/builders/PluginBaseErrorReporter.class: different
      org/eclipse/pde/internal/core/feature/Feature.class: different
      org/eclipse/pde/internal/core/schema/Schema.class: different
      org/eclipse/pde/internal/core/site/Site.class: different
      org/eclipse/pde/internal/core/target/TargetPersistence35Helper.class: different
      org/eclipse/pde/internal/core/target/TargetPersistence36Helper.class: different
      org/eclipse/pde/internal/core/target/TargetPersistence38Helper.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

11.  eclipse.jdt.ui/org.eclipse.jdt.junit.core/.polyglot.META-INF
   no-classifier: different
      org/eclipse/jdt/internal/junit/buildpath/JUnitContainerInitializer.class: different
      org/eclipse/jdt/internal/junit/model/TestRunHandler.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

12.  eclipse.jdt.ui/org.eclipse.jdt.junit/.polyglot.META-INF
   no-classifier: different
      org/eclipse/jdt/internal/junit/ui/JUnitQuickFixProcessor.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

13.  eclipse.platform/debug/org.eclipse.unittest.ui/.polyglot.META-INF
   no-classifier: different
      org/eclipse/unittest/internal/junitXmlReport/TestRunHandler.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

14.  eclipse.pde/apitools/org.eclipse.pde.api.tools/.polyglot.META-INF
   no-classifier: different
      lib/apitooling-ant.jar: different
         org/eclipse/pde/api/tools/internal/tasks/APIFreezeReportConversionTask$ConverterDefaultHandler.class: different
      org/eclipse/pde/api/tools/internal/ApiDescriptionManager.class: different
      org/eclipse/pde/api/tools/internal/search/UseScanParser.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

15.  eclipse.pde/ui/org.eclipse.pde.ui/.polyglot.META-INF
   no-classifier: different
      org/eclipse/pde/internal/ui/editor/category/CategoryDetailsSection.class: different
      org/eclipse/pde/internal/ui/editor/plugin/OverviewPage.class: different
      org/eclipse/pde/internal/ui/editor/product/OverviewPage.class: different
      org/eclipse/pde/internal/ui/editor/site/CategoryDetailsSection.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

16.  eclipse.pde/ua/org.eclipse.pde.ua.core/.polyglot.META-INF
   no-classifier: different
      org/eclipse/pde/internal/ua/core/cheatsheet/comp/CompCSTaskObject.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

17.  rt.equinox.p2/bundles/org.eclipse.equinox.p2.director.app/.polyglot.META-INF
   no-classifier: different
      org/eclipse/equinox/internal/p2/director/app/IUListFormatter.class: different
    The main artifact has been replaced with the baseline version.
    The following attached artifacts have been replaced with the baseline version: [sources]

Could be related to eclipse-jdt/eclipse.jdt.core#1773, I'm looking into it.

@iloveeclipse iloveeclipse added bug Something isn't working regression Regression defect labels Dec 22, 2023
@merks
Copy link
Contributor

merks commented Dec 22, 2023

It seems like comparator errors are a semi-daily occurrence. 😱 Thank you for your diligence dealing with such issues: 🏅

@iloveeclipse
Copy link
Member Author

iloveeclipse commented Dec 22, 2023

OK, looks like in all cases I've checked line number table was changed in code that contained switch cases. it seems there were few more local variable slots computed now, before less, so the numbering of local variables and stack size changed, like here in the org.eclipse.pde.internal.core.feature.Feature.parse(Node) method:

image

@srikanth-sankaran, I assume this is expected side effect of eclipse-jdt/eclipse.jdt.core#1773 ?

@srikanth-sankaran
Copy link

Studying ...

iloveeclipse added a commit to iloveeclipse/eclipse.platform.releng.aggregator that referenced this issue Dec 22, 2023
@srikanth-sankaran
Copy link

I've prepared PR's to touch bundles if needed:

and a small fix for TouchBundles script (to handle PDE repo if differently named locally)

Is this list supposed to be exhaustive ? How come it doesn't include jdt.core ?? I see one comparator diff in WrapPreparator which is what I am looking at presently to see if the changes are justified.

@srikanth-sankaran
Copy link

srikanth-sankaran commented Dec 22, 2023

Are the class files themselves readily accessible ? The textual diff is not completely informative. For example the local variable table is missing. I am looking to get my hands on org.eclipse.jdt.internal.formatter.linewrap.WrapPreparator.class for baseline and build

@iloveeclipse
Copy link
Member Author

Is this list supposed to be exhaustive ?

Yes

How come it doesn't include jdt.core ?? I see one comparator diff in WrapPreparator

Interesting. This class diff contained in the class artifacts but not in the overview diff above. Now it is touched via eclipse-jdt/eclipse.jdt.core#1780 .

Are the class files themselves readily accessible ?

Yes, if you download https://download.eclipse.org/eclipse/downloads/drops4/I20231221-1800/ you will get the "old" classes.
If you use that SDK for your workspace, you will get "new" classes for projects imported in your workspace.

@iloveeclipse
Copy link
Member Author

Are the class files themselves readily accessible ? The textual diff is not completely informative. For example the local variable table is missing.

I've created #1688.

@srikanth-sankaran
Copy link

@srikanth-sankaran, I assume this is expected side effect of eclipse-jdt/eclipse.jdt.core#1773 ?

OK, I have studied a handful of cases. This is a result of eclipse-jdt/eclipse.jdt.core#1773 - This is not an expected side effect. This is not harmful for correctness - the local variable slots are simply wasted - but needs be rectified.

Basically, the compiler will add two unnamed secret variables per each classic string switch that also declares some other local in one of the case blocks

I'll propose a patch shortly.

@srikanth-sankaran
Copy link

I have raised eclipse-jdt/eclipse.jdt.core#1782

@srikanth-sankaran
Copy link

I have raised eclipse-jdt/eclipse.jdt.core#1782

PR under test: eclipse-jdt/eclipse.jdt.core#1784

@srikanth-sankaran
Copy link

srikanth-sankaran commented Dec 22, 2023

I have raised eclipse-jdt/eclipse.jdt.core#1782

PR under test: eclipse-jdt/eclipse.jdt.core#1784

This is merged in - I'll check back tomorrow to see if any further action is required.

@iloveeclipse
Copy link
Member Author

@iloveeclipse
Copy link
Member Author

https://ci.eclipse.org/releng/job/Builds/job/I-build-4.31/56/ started

... and successfully finished:

https://download.eclipse.org/eclipse/downloads/drops4/I20231222-0620/

@srikanth-sankaran : many thanks for a quick fix!

I will close now opened PR's, they are not needed anymore.

PS:
I will have no access to any PC from 24.12 to 04.01, so in case some changes in platform would be needed, please contact @trancexpress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Regression defect
Projects
None yet
Development

No branches or pull requests

3 participants