We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
CoroutinesTimeoutExtension uses some "new" APIs:
CoroutinesTimeoutExtension
Optional.or { ... }
Optional.isEmpty()
So effectively the minimal supported JVM version is 11, which is specified in jdk_toolchain_version, while jvmTarget is set to JvmTarget.JVM_1_8.
jdk_toolchain_version
jvmTarget
JvmTarget.JVM_1_8
Provide a Reproducer
kotlin { jvmToolchain(8) }
@CoroutinesTimeout
The text was updated successfully, but these errors were encountered:
Avoid using Java9+ APIs in JUnit5 CoroutineTimeout
3d29065
Fixes #4278
d26a8c8
a903856
1894d70
0e1c157
No branches or pull requests
Describe the bug
CoroutinesTimeoutExtension
uses some "new" APIs:Optional.or { ... }
function which was added in Java 9Optional.isEmpty()
function which was added in Java 11So effectively the minimal supported JVM version is 11, which is specified in
jdk_toolchain_version
, whilejvmTarget
is set toJvmTarget.JVM_1_8
.Provide a Reproducer
kotlin { jvmToolchain(8) }
@CoroutinesTimeout
to any testThe text was updated successfully, but these errors were encountered: