Skip to content

Commit

Permalink
Revert "Suppressed a JavaFX exception that Michael sees on his Mac wh…
Browse files Browse the repository at this point in the history
…en opening BlueJ projects"
  • Loading branch information
neilccbrown authored Aug 8, 2024
1 parent b4f76db commit bdc001f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions bluej/src/main/java/bluej/terminal/Terminal.java
Original file line number Diff line number Diff line change
Expand Up @@ -462,11 +462,7 @@ private void writeToPane(PaneType paneType, String s, List<String> cssClasses)
// WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @18be7add'
// WARNUNG: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @28f3d2a1'
if (paneType == PaneType.STDERR && lines.removeIf(l -> l.trim().endsWith("com.sun.javafx.application.PlatformImpl startup") ||
l.contains("Unsupported JavaFX configuration: classes were loaded from") ||
// These are to cover a stack trace which occurs on Mac when switching between windows:
l.contains("com.sun.glass.ui.Application.staticScreen_getScreens(") ||
l.contains("com.sun.glass.ui.Screen.initScreens(") ||
l.contains("com.sun.glass.ui.Screen.notifySettingsChanged(")))
l.contains("Unsupported JavaFX configuration: classes were loaded from")))
{
// No need to continue (and thus show the terminal window) if there's no new output to add:
if (lines.isEmpty())
Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bluej_major=5
bluej_minor=4
bluej_release=0
bluej_suffix=
bluej_rcnumber=4
bluej_rcnumber=3

greenfoot_major=3
greenfoot_minor=8
Expand Down

0 comments on commit bdc001f

Please sign in to comment.