Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add VM arguments to second Java call from within the Gui to circumvent module encapsulation which breaks jogl on windows #2945

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

kainagel
Copy link
Member

Our java gui internally calls java a second time in order to be able to add a larger memory request as VM argument. I am now additionally adding the arguments

				"--add-exports", "java.base/java.lang=ALL-UNNAMED",
				"--add-exports", "java.desktop/sun.awt=ALL-UNNAMED",
				"--add-exports", "java.desktop/sun.java2d=ALL-UNNAMED",

because this seems to be needed to make jogl work on windows.

…to add a larger memory request as VM argument. I am now additionally adding the arguments

					"--add-exports", "java.base/java.lang=ALL-UNNAMED",
					"--add-exports", "java.desktop/sun.awt=ALL-UNNAMED",
					"--add-exports", "java.desktop/sun.java2d=ALL-UNNAMED",
because this seems to be needed to make jogl work on windows.
@kainagel kainagel enabled auto-merge November 18, 2023 17:17
@kainagel kainagel merged commit 1068c6c into master Nov 18, 2023
48 checks passed
@kainagel kainagel deleted the gui branch November 18, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant