Skip to content

Commit

Permalink
GROOVY-10503: add "unsupported" warnings to JDK16-18 constants
Browse files Browse the repository at this point in the history
Be more specific in the javadocs for
  * CompilerConfiguration.JDK16,
  * CompilerConfiguration.JDK17,
  * CompilerConfiguration.JDK18,
adding the following sentence to each of them:

  Use it at your own risk, because JDK 18 is not officially supported
  in this Groovy release yet.
  • Loading branch information
kriegaex committed Feb 23, 2022
1 parent 4f330fa commit ec0adbb
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,14 @@ public class CompilerConfiguration {
public static final String JDK14 = "14";
/** This (<code>"15"</code>) is the value for targetBytecode to compile for a JDK 15. */
public static final String JDK15 = "15";
/** This (<code>"16"</code>) is the value for targetBytecode to compile for a JDK 16. */
/** This (<code>"16"</code>) 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 (<code>"17"</code>) is the value for targetBytecode to compile for a JDK 17. */
/** This (<code>"17"</code>) 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 (<code>"18"</code>) is the value for targetBytecode to compile for a JDK 18. */
/** This (<code>"18"</code>) 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";

/**
Expand Down

0 comments on commit ec0adbb

Please sign in to comment.