diff --git a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
index e23228fd0f9..7e37981486d 100644
--- a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
+++ b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
@@ -74,11 +74,14 @@ public class CompilerConfiguration {
public static final String JDK14 = "14";
/** This ("15"
) is the value for targetBytecode to compile for a JDK 15. */
public static final String JDK15 = "15";
- /** This ("16"
) is the value for targetBytecode to compile for a JDK 16. */
+ /** This ("16"
) is the value for targetBytecode to compile for a JDK 16.
+ * Use it at your own risk, because JDK 16 is not officially supported in this Groovy release yet. */
public static final String JDK16 = "16";
- /** This ("17"
) is the value for targetBytecode to compile for a JDK 17. */
+ /** This ("17"
) is the value for targetBytecode to compile for a JDK 17.
+ * Use it at your own risk, because JDK 17 is not officially supported in this Groovy release yet. */
public static final String JDK17 = "17";
- /** This ("18"
) is the value for targetBytecode to compile for a JDK 18. */
+ /** This ("18"
) is the value for targetBytecode to compile for a JDK 18.
+ * Use it at your own risk, because JDK 18 is not officially supported in this Groovy release yet.*/
public static final String JDK18 = "18";
/**