From 99d88ba14eda80536b4c868564eeeb5adf4e0584 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Thu, 5 Sep 2019 14:04:43 +0200 Subject: [PATCH] Document minimum JDK 8 update version Closes gh-23563 --- src/docs/asciidoc/overview.adoc | 2 ++ src/docs/asciidoc/web/webflux-view.adoc | 5 +++-- src/docs/asciidoc/web/webmvc-view.adoc | 7 ++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/docs/asciidoc/overview.adoc b/src/docs/asciidoc/overview.adoc index fc5af09995..704a43849c 100644 --- a/src/docs/asciidoc/overview.adoc +++ b/src/docs/asciidoc/overview.adoc @@ -9,6 +9,8 @@ need to embrace the Java language in an enterprise environment, with support for and Kotlin as alternative languages on the JVM, and with the flexibility to create many kinds of architectures depending on an application's needs. As of Spring Framework 5.1, Spring requires JDK 8+ (Java SE 8+) and provides out-of-the-box support for JDK 11 LTS. +Java SE 8 update 60 is suggested as the minimum patch release for Java 8, but it is +generally recommended to use a recent patch release. Spring supports a wide range of application scenarios. In a large enterprise, applications often exist for a long time and have to run on a JDK and application server whose upgrade diff --git a/src/docs/asciidoc/web/webflux-view.adoc b/src/docs/asciidoc/web/webflux-view.adoc index 09819fcd85..9ab7ec1c1e 100644 --- a/src/docs/asciidoc/web/webflux-view.adoc +++ b/src/docs/asciidoc/web/webflux-view.adoc @@ -353,8 +353,9 @@ The following example shows how to set a custom render function: NOTE: Setting the `sharedEngine` property to `false` is required when using non-thread-safe script engines with templating libraries not designed for concurrency, such as Handlebars or -React running on Nashorn. In that case, Java 8u60 or greater is required, due -to https://bugs.openjdk.java.net/browse/JDK-8076099[this bug]. +React running on Nashorn. In that case, Java SE 8 update 60 is required, due to +https://bugs.openjdk.java.net/browse/JDK-8076099[this bug], but it is generally +recommended to use a recent Java SE patch release in any case. `polyfill.js` defines only the `window` object needed by Handlebars to run properly, as the following snippet shows: diff --git a/src/docs/asciidoc/web/webmvc-view.adoc b/src/docs/asciidoc/web/webmvc-view.adoc index db4608f9d7..faa21a9318 100644 --- a/src/docs/asciidoc/web/webmvc-view.adoc +++ b/src/docs/asciidoc/web/webmvc-view.adoc @@ -793,10 +793,11 @@ The following example shows how to do so: } ---- -NOTE: Setting the `sharedEngine` property to `false` is required when you use non-thread-safe +NOTE: Setting the `sharedEngine` property to `false` is required when using non-thread-safe script engines with templating libraries not designed for concurrency, such as Handlebars or -React running on Nashorn. In that case, Java 8u60 or greater is required, due -to https://bugs.openjdk.java.net/browse/JDK-8076099[this bug]. +React running on Nashorn. In that case, Java SE 8 update 60 is required, due to +https://bugs.openjdk.java.net/browse/JDK-8076099[this bug], but it is generally +recommended to use a recent Java SE patch release in any case. `polyfill.js` defines only the `window` object needed by Handlebars to run properly, as follows: