Skip to content

Commit 475d0dd

Browse files
committed
Put call to exportAllModulesToAllModules() in try-catch block
The current version of BurningWave is incompatible with Java 24 and causes a crash whenever the editor is opened. Until this issue is resolved, the following modules need to be opened manually in the eclipse.ini: --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.desktop/javax.swing=ALL-UNNAMED --add-opens java.desktop/java.awt=ALL-UNNAMED See #1027
1 parent 1a587c9 commit 475d0dd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

org.eclipse.wb.core/src/org/eclipse/wb/internal/core/DesignerPlugin.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ public void start(BundleContext context) throws Exception {
6363
if (EnvironmentUtils.IS_LINUX) {
6464
installPreferenceForwarder();
6565
}
66-
exportAllModulesToAllModules();
66+
try {
67+
// https://github.com/eclipse-windowbuilder/windowbuilder/issues/1027
68+
exportAllModulesToAllModules();
69+
} catch (Throwable e) {
70+
log(e);
71+
}
6772
}
6873

6974
private void exportAllModulesToAllModules() {

0 commit comments

Comments
 (0)