Skip to content

Commit c1a44b6

Browse files
chore: make clear why (and for what) add-opens are necessary
1 parent c5ad858 commit c1a44b6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,15 @@ application {
6262
// mainClassName = "com.example.hellofx.Launcher"
6363
// applicationName = 'hello-fx'
6464
applicationDefaultJvmArgs = [
65+
// necessary for ControlsFX
6566
"--add-opens=javafx.base/com.sun.javafx.event=ALL-UNNAMED",
6667
"--add-opens=javafx.base/com.sun.javafx.collections=ALL-UNNAMED",
6768
"--add-opens=javafx.base/com.sun.javafx.runtime=ALL-UNNAMED",
6869
// XXX many more necessary depending on control
70+
71+
// necessary for Jasperreports XML parsing
72+
// https://github.com/TIBCOSoftware/jasperreports/issues/61
73+
"--add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED",
6974
]
7075
}
7176

0 commit comments

Comments
 (0)