Can I surpress gremlin console's warnings?
How can I surpress these WARNING messages? I've tried gremlin -l but can't seem to get the syntax right because it seems to have no effect when I do
gremlin -l ERROR
Solution:Jump to solution
I have found that
export JDK_JAVA_OPTIONS="$JDK_JAVA_OPTIONS --illegal-access=deny"
produces the following
```
% export JDK_JAVA_OPTIONS="$JDK_JAVA_OPTIONS --illegal-access=deny"
% gremlin
NOTE: Picked up JDK_JAVA_OPTIONS: --illegal-access=deny...2 Replies
Solution
I have found that
export JDK_JAVA_OPTIONS="$JDK_JAVA_OPTIONS --illegal-access=deny"
produces the following
Those warnings come directly from the JVM at JDK11, so you can't really control them with logging infrastructure. There's some details about those warnings here: https://linuxpip.org/an-illegal-reflective-access-operation-has-occurred/ Note that in 3.7.0 the warnings are resolved as we were able to finally upgrade Groovy (the source of the issue) past 2.5.x.
Daan "Navi"
LinuxPip
How to fix “an illegal reflective access operation has occurred” – ...
In Java programming, the reflection API lets you examine the internal properties of a running Java program and manipulate them. The name of all its members can