RFR: JDK-8296665: IGV: Show dialog with stack trace for exceptions

Tobias Holenstein tholenstein at openjdk.org
Fri Nov 11 13:53:26 UTC 2022


On Fri, 11 Nov 2022 09:22:45 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> Looks good to me. If we start hitting too many exceptions, we might need to (temporarily) disable this again.
> 
> Just wondering, isn't there a config file or something to put such Netbeans specific settings instead of passing them as `-J-D` args to the JVM?

Unfortunately, the only config file i know is `<netbeans-install-dir>/etc/idealgraphvisualizer.conf` 
(`jdk/open/src/utils/IdealGraphVisualizer/application/target/idealgraphvisualizer/etc/idealgraphvisualizer.conf`). This file can also be modified after compiling IGV and changes the settings without recompiling.

Another way is to set option in code like the following

System.setProperty("netbeans.exception.report.min.level", "1000");

-------------

PR: https://git.openjdk.org/jdk/pull/11060


More information about the hotspot-compiler-dev mailing list