From c0068e7d8a2d803e409d46b877d0c682767f8591 Mon Sep 17 00:00:00 2001 From: Bruce Eckel Date: Sun, 7 Nov 2021 17:23:11 -0700 Subject: [PATCH] Message about broken Gradle for JDK 16 or 17 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 5f975e29..73131ecd 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ If you want to experiment with the code examples from the book [On Java These examples are automatically extracted directly from the book. This repository includes tests to verify that the code in the book is correct. +> NOTE: Do not attempt to use JDK 16 or greater with gradle. +> This produces a `BUG!` message from Gradle, which is broken for those versions. +> To test new Java features in JDK 16 or 17 you must compile and run those examples by hand. + ## Contents - [Building From the Command Line: Quick Version](#building-from-the-command-line-quick-version)