Java 12 - Illegal reflective access by org.codehaus.groovy.reflection.CachedConstructor$1
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**qr_163** ([Bug 63552](https://bz.apache.org/bugzilla//show_bug.cgi?id=63552&redirect=false)):
Every time I opening a jmeter script on Java 12 I get following output:
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedConstructor$1 (file:/C:/xxx/Tool/jmeter-5.1.1/lib/groovy-all-2.4.16.jar) to constructor java.math.BigDecimal(java.math.BigInteger,long,int,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedConstructor$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
If it is not a bug, please let me know how to configure and make Jmeter opening without warning, thank you in advance.
Severity: normal
OS:
Contributor guide
Assessment
This issue has not been assessed yet.