Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8301261

Add linker option for specifying uncaught exception handler

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • repo-panama
    • core-libs

      If an exception occurs during an upcall outside of user code, we go to an uncaught exception handler which prints the stack trace an exits the VM.

      We could improve the implementation by delegating the the thread's uncaught exception handler, and/or by letting the user specify an exception handler using a linker option.

      This would allow e.g. doing additional logging if an exception occurs.

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: