From aa272b4cd97d51242afe816a99c19c3fe68c0d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Tue, 23 Sep 2025 15:56:58 +0200 Subject: [PATCH] Upgrade to Dokka 2.1.0-Beta Required for Java 25 support. Closes gh-35532 --- buildSrc/build.gradle | 2 +- .../main/kotlin/org/springframework/web/server/CoWebFilter.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 5852b016412..9a37ce2cd86 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -20,7 +20,7 @@ ext { dependencies { checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:${javaFormatVersion}" implementation "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}" - implementation "org.jetbrains.dokka:dokka-gradle-plugin:2.0.0" + implementation "org.jetbrains.dokka:dokka-gradle-plugin:2.1.0-Beta" implementation "com.tngtech.archunit:archunit:1.4.1" implementation "org.gradle:test-retry-gradle-plugin:1.6.2" implementation "io.spring.javaformat:spring-javaformat-gradle-plugin:${javaFormatVersion}" diff --git a/spring-web/src/main/kotlin/org/springframework/web/server/CoWebFilter.kt b/spring-web/src/main/kotlin/org/springframework/web/server/CoWebFilter.kt index 220aeb1f541..f896e15411c 100644 --- a/spring-web/src/main/kotlin/org/springframework/web/server/CoWebFilter.kt +++ b/spring-web/src/main/kotlin/org/springframework/web/server/CoWebFilter.kt @@ -57,8 +57,8 @@ abstract class CoWebFilter : WebFilter { /** * Name of the [ServerWebExchange] attribute that contains the - * [kotlin.coroutines.CoroutineContext] to be passed to the - * [org.springframework.web.reactive.result.method.InvocableHandlerMethod]. + * [kotlin.coroutines.CoroutineContext] to be passed to + * `org.springframework.web.reactive.result.method.InvocableHandlerMethod`. */ @JvmField val COROUTINE_CONTEXT_ATTRIBUTE = CoWebFilter::class.java.getName() + ".context"