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

Tobias Holenstein tholenstein at openjdk.org
Thu Nov 10 13:22:08 UTC 2022


Currently in IGV when an exception occurs a small red icon in the bottom right corner appears. The user often does not see this and if he sees it, usually not immediately when the error occurs:
<img width="447" alt="exception now" src="https://user-images.githubusercontent.com/71546117/200838912-1dab349d-ac60-49bf-8546-95455367ba7f.png">

The exception reporting level is changed to `1000` (Level.SEVERE) in IGV to show a dialog with the stack-trace. The user can still close it and continue the work: 
<img width="1529" alt="exception suggestion" src="https://user-images.githubusercontent.com/71546117/200838877-346ef916-72b2-435c-8425-e799663efee5.png">

To test invert something like the following somewhere in the codebase 

try {
    int i=1/0;
} catch (Exception e) {
    throw new RuntimeException(e);
}

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

Commit messages:
 - move to .conf file
 - JDK-8296665: IGV: Show dialog with stack trace for exceptions

Changes: https://git.openjdk.org/jdk/pull/11060/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11060&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8296665
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/11060.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11060/head:pull/11060

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


More information about the hotspot-compiler-dev mailing list