Skip to content

Java Libs Project requires Java 1.8, but uses packages introduced in Java 11 #1149

Closed
@alecdesjardins

Description

@alecdesjardins

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    lib/javaJava client library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions