From perini.davide at dpsoftware.org Sat Oct 4 16:10:58 2025 From: perini.davide at dpsoftware.org (Davide Perini) Date: Sat, 4 Oct 2025 18:10:58 +0200 Subject: WebView wv = new WebView(); throws an exception Message-ID: Hi there, I noticed recently that this code WebView wv = new WebView(); throws an exception that creates no real problem but it is a bit annoyng. The exception is thrown here: class PropertyHelper { ? ? static boolean getBooleanProperty(String var0) { ? ? ? ? try { ? ? ? ? ? ? String var1 = System.getProperty(var0); ? ? ? ? ? ? return "true".equals(var1.toLowerCase()); ? ? ? ? } catch (Exception var2) { ? ? ? ? ? ? return false; ? ? ? ? } ? ? } } If I manually set System.setProperty("javafx.sg.warn", "true"); this exception is not thrown. But why?