Skip to content

Commit 2656dab

Browse files
annasuszterdrewbrokke
authored andcommitted
LPD-51705 "adds more opens to the JDK_JAVA_OPTIONS environment variable to align with the ootb bundles"
1 parent 5502463 commit 2656dab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/plugins/com.liferay.ide.server.core/src/com/liferay/ide/server/core/portal/PortalServerBehavior.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,13 @@ public void setupLaunchConfiguration(ILaunchConfigurationWorkingCopy launch, IPr
523523
opens.add("--add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED");
524524
opens.add("--add-opens=java.base/java.util.concurrent=ALL-UNNAMED");
525525
opens.add("--add-opens=java.base/java.util=ALL-UNNAMED");
526+
opens.add("--add-opens=java.base/sun.net.www.protocol.http=ALL-UNNAMED");
527+
opens.add("--add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED");
526528
opens.add("--add-opens=java.base/sun.nio.ch=ALL-UNNAMED");
527529
opens.add("--add-opens=java.base/sun.nio.cs=ALL-UNNAMED");
530+
opens.add("--add-opens=java.base/sun.util.calendar=ALL-UNNAMED");
528531
opens.add("--add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED");
532+
opens.add("--add-opens=jdk.zipfs/jdk.nio.zipfs=ALL-UNNAMED");
529533

530534
launchEnvrionment.put("JDK_JAVA_OPTIONS", String.join(" ", opens));
531535

0 commit comments

Comments
 (0)