On Wed, 2 Oct 2024 17:09:59 GMT, Ambarish Rapte <ara...@openjdk.org> wrote:

> Update the boot JDK to version 23. 
> 
> Since Gradle 8.9 does not support JDK 23, it is necessary to upgrade Gradle 
> to the latest release, version 8.10.2, which supports JDK 23.
> It is advised to upgrade directly to Gradle 8.10.2 rather than 8.10. refer to 
> [the release notes](https://docs.gradle.org/8.10.2/release-notes.html)
> 
> No modifications to the Gradle build script are required for upgrading the 
> Gradle version.

Running `gradle wrapper --gradle-version 8.10.2 
--gradle-distribution-sha256-sum 
31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26` on my Windows 
machine changes `gradlew` and `gradlew.bat` as follows:


diff --git a/gradlew b/gradlew
--- a/gradlew   (revision d5432c3e14b06445bc45e34e4aa63ec415c03595)
+++ b/gradlew   (date 1727936286998)
@@ -15,8 +15,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-# SPDX-License-Identifier: Apache-2.0
-#
 
 ##############################################################################
 #
@@ -57,7 +55,7 @@
 #       Darwin, MinGW, and NonStop.
 #
 #   (3) This script is generated from the Groovy template
-#       
https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
+#       
https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
 #       within the Gradle project.
 #
 #       You can find Gradle at https://github.com/gradle/gradle/.
@@ -86,8 +84,7 @@
 # shellcheck disable=SC2034
 APP_BASE_NAME=${0##*/}
 # Discard cd standard output in case $CDPATH is set 
(https://github.com/gradle/gradle/issues/25036)
-APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
-' "$PWD" ) || exit
+APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
 
 # Use the maximum available, or set MAX_FD != -1 to use that value.
 MAX_FD=maximum



diff --git a/gradlew.bat b/gradlew.bat
--- a/gradlew.bat       (revision d5432c3e14b06445bc45e34e4aa63ec415c03595)
+++ b/gradlew.bat       (date 1727936287168)
@@ -13,8 +13,6 @@
 @rem See the License for the specific language governing permissions and
 @rem limitations under the License.
 @rem
-@rem SPDX-License-Identifier: Apache-2.0
-@rem
 
 @if "%DEBUG%"=="" @echo off
 @rem ##########################################################################

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1589#issuecomment-2390617421

Reply via email to