Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8958

Groovy binary 3.0 alpha 4 gives illegal exception

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.0.0-alpha-4
    • None
    • groovy-runtime
    • None
    • Windows 10 Enterprise x64 1809
      Java Dev Kit 11.0.2
      CMD to run apps written in VS Code Stable

    Description

      Hi I'm getting following when running Groovy 3 alpha 4 on Win 10 Enterprise with Java11.

      C:\Users\XXXXXXX\Documents>groovy hello.groovy
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/C:/Users/horacy/Downloads/apache-groovy/groovy/bin/../lib/groovy-3.0.0-alpha-4.jar) to method java.lang.Object.finalize()

      WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operationsWARNING: All illegal access operations will be denied in a future release

       

      Running above flag does not change anything in output and still apps are running but each time I get above before app starts.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kop524 Horacy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: