Details
-
Question
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.0.0-alpha-4
-
None
-
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
- duplicates
-
GROOVY-8339 Fix warning "An illegal reflective access operation has occurred"
- Closed