-
Notifications
You must be signed in to change notification settings - Fork 186
Java Libs Project requires Java 1.8, but uses packages introduced in Java 11 #1149
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
Comments
I'm able to import and use the library in a Java 8 project to interact with the Svix webhook service API in general, but can't use this svix-webhooks/java/lib/src/main/java/com/svix/Webhook.java Lines 43 to 56 in 58689c8
Could potentially either bump the minimum supported Java version to 11, or update this class and tests to be Java 8 compatible - though unsure of what would be the best way to do that without affecting existing downstream users of the |
I believe this is now fixed? |
@tasn who knows, I gave up on this project awhile ago. |
@desjardinsalec, oh, sorry to hear, why? This PR or something else? We would love to get feedback. |
@tasn Yeah inactivity from a valid issue, never a good sign. |
Gotcha, sorry to hear about your experience. :( We definitely messed up here by not addressing it earlier / communicating poorly, though I don't believe "inactivity from a valid issue" was a fair characterization of the issue. Sorry again for the trouble, and I really wish we had communicated better here. |
Bug Report
Description
java.net.http
was introduced to Java with 11, not 1.8. Therefore, the java libs project will not compile.I tried this code:
./gradlew build
I expected to see this happen: build successfully
Instead, this happened:
Webhook.java:3 error: package java.net.http does not exist import java.net.http.HttpHeaders;
The text was updated successfully, but these errors were encountered: