mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
javafx: patch command line to ensure that javafx modules come to the module path, use --add-reads (IDEA-200092)
This commit is contained in:
committed by
Pavel Dolgov
parent
f3be03aea5
commit
3083333b56
+2
-1
@@ -59,7 +59,8 @@ public class JavaFxRunConfigurationExtension extends RunConfigurationExtension {
|
||||
params.getModulePath().add(javaFxBase);
|
||||
params.getModulePath().add(javafxGraphics);
|
||||
params.getVMParametersList().addParametersString("--add-modules " + JAVAFX_BASE + "," + JAVAFX_GRAPHICS);
|
||||
params.getVMParametersList().addParametersString("--add-exports " + JAVAFX_GRAPHICS + "/com.sun.javafx.application=ALL-UNNAMED");
|
||||
params.getVMParametersList().addParametersString("--add-reads " + JAVAFX_BASE + "=ALL-UNNAMED");
|
||||
params.getVMParametersList().addParametersString("--add-reads " + JAVAFX_GRAPHICS + "=ALL-UNNAMED");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user