Skip to content
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

Version 3.34.0 built against JDK 17 and throws java.lang.IllegalArgumentException: Unsupported class file major version 61 #1153

Closed
alex-korobko opened this issue Jun 16, 2023 · 4 comments

Comments

@alex-korobko
Copy link

Guys,

Since version 3.34.0 switched to JDK 17 any project that is still on JDK 11 or earlier that uses transitive dependencies throws an error java.lang.IllegalArgumentException: Unsupported class file major version 61
Maybe it would be better to increment the major version for such a change, like, starting with 4.*?
Workarounds:
Users to define explicitly lib version 3.33.0 as the latest which still on JDK 11

@ascopes
Copy link
Contributor

ascopes commented Jun 24, 2023

Can confirm this has broken my builds as well, unfortunately.

@ulchie
Copy link

ulchie commented Jun 28, 2023

This also affects us. In our case, it broke a benchmark that uses a lombok version that doesn't support Java 17.

@codersinthestorm
Copy link

This also broke one of our Java 11 specific builds, and we were using version 3.31.0. Somehow that too has been compiled against 17. Thanks @alex-korobko, 3.33.0 works still, for now.

@iloveeclipse
Copy link
Member

Anyone who needs latest Java versions support in JDT please move to Java 17 runtime. If you can't, stay at Java 11 and old compiler versions. Major version bump is not done, as we don't do this if moving to other Java runtimes.

There is nothing to fix here, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants