Join Slack
Powered by
Has bumping the minimum supported Java version in ...
# kotest-contributors
a
Adam S
07/23/2024, 11:18 PM
Has bumping the minimum supported Java version in 6.0 been discussed? I ask because I experimented with setting up Java Toolchains so we can build with Java 21, but set jdk-release=8, and run the tests with Java 8, and I found some places in code that require Java 9 • ProcessHandle requires Java 9+
https://github.com/kotest/kotest/blob/6a6e35313c4c0f725fb180c8f0d088f4a2fcf1a4/kotest-framework/kotest-framework-api/src/jvmMain/kotlin/io/kotest/core/writeLog.kt#L17
• toChronoUnit() requires Java 9+ (I recently added this one, and it's in a deprecated function, so it really doesn't matter. But I mention it because it shows that the automated tests didn't catch the Java 9 requirement)
https://github.com/kotest/kotest/blob/ee86a330d286fe48ba3ecab652f5f25ee5fe1f25/kotest-assertions/kotest-assertions-shared/src/jvmMain/kotlin/io/kotest/assertions/async/timeout.jvm.kt#L33-L32
Open in Slack
Previous
Next