On Wed, Dec 08, 2010 at 10:49:19AM -0000, Martin Pitt wrote:
> trunk just landed the handler and test code. It's still missing the
> automatic integration of the handler, it currently has to be installed
> manually in a Java program.

Thanks!

Automatic integration will require modifying the JVM, similar to what we do
with the Python interpreter.

One way to do that would be to just add a call to
com.ubuntu.apport.ApportUncaughtExceptionHandler.install() to the JVM
startup sequence.  Or, java.lang.Thread.defaultUncaughtExceptionHandler
could be manually initialized to an instance of
ApportUncaughtExceptionHandler (which is what install() does).

Do you want to keep this bug open until that's done?  If so, we should add
an openjdk task and close the apport one, because I don't think there is any
more work to do in apport itself for the initial implementation.

-- 
 - mdz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/548877

Title:
  Trap uncaught exceptions in Java programs

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to