Skip to content

Add Eclipse compiler CI Job#4002

Draft
scordio wants to merge 1 commit intomainfrom
gh-3996-eclipse-compiler
Draft

Add Eclipse compiler CI Job#4002
scordio wants to merge 1 commit intomainfrom
gh-3996-eclipse-compiler

Conversation

@scordio
Copy link
Member

@scordio scordio commented Nov 3, 2025

@scordio scordio added this to the 4.0.0-M2 milestone Nov 3, 2025
@scordio scordio force-pushed the gh-3996-eclipse-compiler branch from 97c3574 to d50b269 Compare November 3, 2025 23:02
@scordio
Copy link
Member Author

scordio commented Nov 3, 2025

@erizzo do you also experience the following?

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/runner/work/assertj/assertj/assertj-core/src/main/java/module-info.java:[55,19] net.bytebuddy cannot be resolved to a module
[INFO] 1 error
[INFO] -------------------------------------------------------------

@erizzo
Copy link
Contributor

erizzo commented Nov 4, 2025

@erizzo do you also experience the following?

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/runner/work/assertj/assertj/assertj-core/src/main/java/module-info.java:[55,19] net.bytebuddy cannot be resolved to a module
[INFO] 1 error
[INFO] -------------------------------------------------------------

Do you mean with this branch or on main?
I've not seen that on main.

@scordio
Copy link
Member Author

scordio commented Nov 4, 2025

Do you mean with this branch or on main?

There shouldn't be changes from this branch that would cause it, it should be practically equivalent to main. In the end, I'm trying to compile things using the maven-compiler-plugin configuration, which might differ from what Eclipse does natively.

Thanks for the feedback, I'll dig a bit more!

@scordio scordio added the 3rd-party: Eclipse An issue related to using AssertJ with Eclipse label Nov 4, 2025
@scordio
Copy link
Member Author

scordio commented Nov 5, 2025

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/runner/work/assertj/assertj/assertj-core/src/main/java/module-info.java:[55,19] net.bytebuddy cannot be resolved to a module
[INFO] 1 error
[INFO] -------------------------------------------------------------

Hi @raphw, are you aware of any incompatibilities between ByteBuddy and ECJ?

Could the error above be related to the fact that ByteBuddy has the module descriptor under META-INF/versions/9?


Obviously, I found a related issue right after submitting this comment 🙃

@scordio scordio removed this from the 4.0.0-M2 milestone Nov 5, 2025
@scordio scordio force-pushed the gh-3996-eclipse-compiler branch from b4ad238 to a7f32a4 Compare November 5, 2025 07:09
@raphw
Copy link
Contributor

raphw commented Nov 5, 2025

If so, this would fail for a range of libraries. I know of Byte Buddy being used as a module, so I'd be surprised of an error in the jar.

@scordio scordio force-pushed the gh-3996-eclipse-compiler branch from a7f32a4 to 11d95ec Compare November 5, 2025 07:14
@scordio
Copy link
Member Author

scordio commented Nov 5, 2025

So far, I can't find anything unusual in our build that would cause such an error.

I'll cherry-pick the other fixes, but the current error with ByteBuddy prevents us from merging this job.

If anyone has any ideas, please feel free to chime in!

@scordio scordio force-pushed the gh-3996-eclipse-compiler branch from 11d95ec to c82b65d Compare November 6, 2025 22:05
@scordio scordio force-pushed the gh-3996-eclipse-compiler branch from c82b65d to aedb01b Compare November 6, 2025 23:22
@scordio scordio force-pushed the main branch 2 times, most recently from b2b071f to 2dab02c Compare November 8, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3rd-party: Eclipse An issue related to using AssertJ with Eclipse

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compilation errors in Eclipse and IntelliJ

3 participants