Visitar URL original
Add Eclipse compiler CI Job by scordio · Pull Request #4002 · assertj/assertj · GitHub
Skip to content

Add Eclipse compiler CI Job - #4002

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

scordio wants to merge 1 commit into
mainfrom
gh-3996-eclipse-compiler

Conversation

@scordio

@scordio scordio commented Nov 3, 2025 •

Copy link
Copy Markdown
Member

@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

scordio commented Nov 3, 2025

Copy link
Copy Markdown
Member Author

@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

erizzo commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

@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

scordio commented Nov 4, 2025 •

Copy link
Copy Markdown
Member Author

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

scordio commented Nov 5, 2025 •

Copy link
Copy Markdown
Member Author
[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

raphw commented Nov 5, 2025 •

Copy link
Copy Markdown
Contributor

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

scordio commented Nov 5, 2025

Copy link
Copy Markdown
Member Author

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 2 times, most recently 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
@scordio
scordio force-pushed the main branch 6 times, most recently from 0f983e4 to 3616199 Compare June 7, 2026 12:56
@scordio
scordio force-pushed the gh-3996-eclipse-compiler branch from aedb01b to b845175 Compare July 24, 2026 15:01
@scordio scordio added this to the 4.x milestone Jul 24, 2026
@github-actions

Copy link
Copy Markdown

Looks good. No mutations were possible for these changes.
See https://pitest.org/

@testlens-app

testlens-app Bot commented Jul 24, 2026

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: b845175
▶️ Tests: 72188 executed
⚪️ Checks: 24/24 completed


Learn more about TestLens at testlens.app.

This branch has not been deployed

No deployments
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