title: Groovy JDK 11 disable the WARNING message
body: <p>When I run <strong>Groovy 2.5.3</strong> on <strong>JDK 11</strong> its giving warning message: </p>
  
  <pre class="lang-sh prettyprint-override"><code>groovy -e 'print "hi"'
  WARNING: An illegal reflective access operation has occurred
  WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/user/.sdkman/candidates/groovy/current/lib/groovy-2.5.3.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
  WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
  WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  WARNING: All illegal access operations will be denied in a future release
  </code></pre>
  
  <p><strong><em>Is there an option to disable this warning message?</em></strong></p>