ptrd / kwik

A QUIC client, client library and server implementation in Java. Supports HTTP3 with "Flupke" add-on.
GNU General Public License v3.0
390 stars 57 forks source link

Get an compile error under sample package #37

Closed ccc7574 closed 11 months ago

ccc7574 commented 11 months ago

under the package "sample" ,go into class SampleClient,line 67 the method "transferTo" doesn't exsit. please provide some comment

long transferred = stream.getInputStream().transferTo(....)

ccc7574 commented 11 months ago

My bad, I use JDK 8, that method belong to JDK 9. JDK 9 is must for Kwik?

ptrd commented 11 months ago

For now: JDK 11 (as defined in https://github.com/ptrd/kwik/blob/master/build.gradle). Might even switch to 17 somewhere in the near future, as 11 is already out of support.

ccc7574 commented 11 months ago

For now: JDK 11 (as defined in https://github.com/ptrd/kwik/blob/master/build.gradle). Might even switch to 17 somewhere in the near future, as 11 is already out of support.

Got it! Thx!!