ursus
11/17/2026, 12:32 AMJDK 27?
Locally on my mac it works fine, but when I update the linuxbox CICD it fails with
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':formatter:detektDebug' (registered by plugin 'com.android.internal.library').
> java.lang.IllegalStateException: Analyzing /foo/formatter/src/main/kotlin/sk/o2/formatter/DataSizeFormatter.kt led to an exception.
Location: java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323)
The original exception message was: java.lang.ArrayIndexOutOfBoundsException: Index 256 out of bounds for length 129
Running detekt '2.0.0-alpha.6' on Java '27.0.1.0.3+5' on OS 'Linux'
If the exception message does not help, please feel free to create an issue on our GitHub page.
at dev.detekt.core.AnalyzerKt.throwIllegalStateException(Analyzer.kt:108)
at dev.detekt.core.AnalyzerKt.access$throwIllegalStateException(Analyzer.kt:1)
TLDR; why does it behave differently? Is it this concrete JDK vendor issue maybe? (Mac runs azul, linuxbox bellsoft)eygraber
11/17/2026, 1:37 AMursus
11/17/2026, 2:22 PM