-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
bedaka
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working