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

Groovy binary 3.0 alpha 4 gives illegal exception

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-alpha-4
    • Fix Version/s: None
    • Component/s: groovy-runtime
    • Labels:
      None
    • Environment:
      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

            • Assignee:
              Unassigned
              Reporter:
              kop524 Horacy

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment