Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] 4.35 Y-Build: Y20250111-1000 - BUILD FAILED

We'll need some help here:


Am 11.01.25 um 16:05 schrieb genie.releng--- via jdt-dev:
Please go to https://ci.eclipse.org/releng/job/YPBuilds/job/Y-build-4.35/50/console and check the build failure.

The build aborts with these compile errors:

16:05:12 [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:4.0.11-SNAPSHOT:compile (default-compile) on project org.eclipse.jdt.core.compiler.batch: Compilation failure: Compilation failure: 16:05:12 [ERROR] /home/jenkins/agent/workspace/YPBuilds/Y-build-4.35/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/ast/TryStatement.java:[1015] 16:05:12 [ERROR] if (enclosingSwitchExpression(upperScope) instanceof SwitchExpression swich) {
16:05:12  [ERROR] 	    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16:05:12  [ERROR] Expression type cannot be a subtype of the Pattern type
16:05:12 [ERROR] /home/jenkins/agent/workspace/YPBuilds/Y-build-4.35/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java:[731] 16:05:12 [ERROR] return isRecord() && components() instanceof RecordComponentBinding [] components && components.length > 0;
16:05:12  [ERROR] 	                     ^^^^^^^^^^^^
16:05:12  [ERROR] Expression type cannot be a subtype of the Pattern type
16:05:12 [ERROR] /home/jenkins/agent/workspace/YPBuilds/Y-build-4.35/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java:[6419] 16:05:12 [ERROR] if (annotationBinding.getAnnotationType() instanceof ReferenceBinding type
16:05:12  [ERROR] 	    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16:05:12  [ERROR] Expression type cannot be a subtype of the Pattern type
16:05:12  [ERROR] 3 problems (3 errors)

This is the problem with ID 1782 and history shows that ecj no longer raises this error since https://github.com/eclipse-jdt/eclipse.jdt.core/pull/77

=> The build must have used a compiler version < May 12, 2022


For investigation I ran another job with verbose logging (-X):
 - https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-24/12/console
Unfortunately, tycho-compiler-plugin doesn't tell us which version of the compiler it uses, even when specifying -X.


any ideas how to proceed?
Stephan


Back to the top