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

Java 17 Support #181

Open
driseley opened this issue May 2, 2024 · 0 comments
Open

Java 17 Support #181

driseley opened this issue May 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@driseley
Copy link
Contributor

driseley commented May 2, 2024

Context

Sherlock 1.0.1 doesn't seem to support Java 17

Expected Behavior

Sherlock 1.0.1 should support Java 17 (see also #89 - although we have now moved on to Java 17!)

Observed Behavior

When trying to compile client code with Java 17 / Maven we see errors of the form:

[ERROR]   bad class file: /home/dave/.m2/repository/com/coditory/sherlock/sherlock-api/1.0.1/sherlock-api-1.0.1.jar(/com/coditory/sherlock/Sherlock.class)
[ERROR]     class file has wrong version 65.0, should be 61.0
[ERROR]     Please remove or make sure it appears in the correct subdirectory of the classpath.

Steps to Reproduce

Compile any java sherlock client code using a Java 17 JDK

Your Environment

Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /home/dave/.sdkman/candidates/maven/current
Java version: 17.0.10, vendor: Amazon.com Inc., runtime: /home/dave/.sdkman/candidates/java/17.0.10-amzn
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "5.15.146.1-microsoft-standard-wsl2", arch: "amd64", family: "unix"
  • Library version: 1.0.1
@driseley driseley added the bug Something isn't working label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant