-
Notifications
You must be signed in to change notification settings - Fork 523
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
Project compilation fails when using OpenJDK 23 on Mac M2 #3462
Comments
That looks like an issue with lombok. Does Lombok support Java 23? |
@manusa Yeah, you are right! Lombok has not added support for JDK 23. |
It's not just on JDK23, I see some test failures on MacOS when built against JDK17. I tested it via GitHub actions, see logs. |
@rohanKanojia I can confirm the same thing. The issue seems similar to #3001 and #3006. I will make a PR to fix that! |
…lRequirementsShouldStartWatcherProcess, issue eclipse-jkube#3462 Signed-off-by: Snapp <[email protected]>
Note that the failures are for different reasons, ones can be fixed others can't unless lombok provides a new release or we move away from lombok |
…lRequirementsShouldStartWatcherProcess, issue eclipse-jkube#3462 Signed-off-by: arman-yekkehkhani <[email protected]>
…tcherProcess to fix macOS compilation #3462 Signed-off-by: arman-yekkehkhani <[email protected]>
I can see the jkube build successful on MacOS. Thanks a lot! Maybe we can add a ci pipeline to make sure we don't break it in future. However, sometimes I see an intermittent failure for WatchServiceTest
Are you able to reproduce this issue on your machine? |
@rohanKanojia Hi Rohan. I tested on my machine and unfortunately I was not able to reproduce this error. It looks quite peculiar. Maybe look into that when the ci/cd pipeline is in place and we can investigate the root cause. |
@arman-yekkehkhani : I think Marc fixed this issue in #3484 |
The intermittent failure is not fixed, we'll have to look into it and probably replace the mock with something else. |
Describe the bug
When using Java 23
compilation fails with the following error:
switching to Java 21, everything goes back to normal.
Eclipse JKube version
SNAPSHOT
Component
JKube Kit
Apache Maven version
None
Gradle version
None
Steps to reproduce
Expected behavior
Should compile normally like previous versions of Java
Runtime
other (please specify in additional context)
Kubernetes API Server version
1.25.3
Environment
macOS
Eclipse JKube Logs
No response
Sample Reproducer Project
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: