We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78d4c6f commit 8118e61Copy full SHA for 8118e61
README.md
@@ -31,6 +31,18 @@ java_args:
31
# Global java_args can be used to suppress reflective access warn
32
```
33
34
+## Suppressing Reflective Access warnings
35
+
36
+Since JRuby-9.2.10.0 it is possible to suppress reflective access warnings by including a `jruby.java_opts` file with following contents:-
37
38
+```bash
39
+--add-opens java.base/java.lang=ALL-UNNAMED
40
+--add-opens java.desktop/java.awt=ALL-UNNAMED
41
+--add-opens java.desktop/sun.awt=ALL-UNNAMED
42
+--add-opens java.desktop/sun.java2d.opengl=ALL-UNNAMED
43
+```
44
+Mainly needed for opengl sketches.
45
46
## Install Steps (assumes you have requirements above)
47
48
```bash
0 commit comments