Gesendet: Sonntag, 12. Januar 2025 um 12:24
Von: "JAYAPRAKASH ARTHANAREESWARAN via jdt-dev" <jdt-dev@xxxxxxxxxxx>
An: "Eclipse JDT general developers list." <jdt-dev@xxxxxxxxxxx>
CC: "JAYAPRAKASH ARTHANAREESWARAN" <jarthana@xxxxxxxxxx>
Betreff: Re: [jdt-dev] 4.35 Y-Build: Y20250111-1000 - BUILD FAILED
I think this was fixed in master. I will do the merge that should unblock us.
Regards,
Jay
-----Original Message-----
From: jdt-dev <jdt-dev-bounces@xxxxxxxxxxx> On Behalf Of Stephan Herrmann via jdt-dev
Sent: 12 January 2025 16:53
To: jdt-dev@xxxxxxxxxxx
Cc: Stephan Herrmann <stephan.herrmann@xxxxxxxxx>
Subject: [EXTERNAL] 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/consoleUnfortunately, tycho-compiler-plugin doesn't tell us which version of the compiler it uses, even when specifying -X.
any ideas how to proceed?
Stephan
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jdt-dev_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jdt-dev