db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3618) Perform thread dump with ASSERTS with jdk 1.5 or higher
Date Wed, 28 May 2008 18:27:46 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600558#action_12600558

Kathey Marsden commented on DERBY-3618:

Thanks Erlend for the patch.
-- need a license header for ThreadDump

-- AssertFailure
We can't use org.apache.derbyTesting.functionTests.harness.JavaVersionHolder in the engine
code. You can use org.apache.derby.iapi.services.info.JVMInfo instead.

I think that we can keep the System.out backup if there is no stream, but should check to
see if Monitor.getStream() is null instead of catching the NullPointerException.

I wonder if we could try testing this from within a stored procedure, from there there should
be a log stream present.


> Perform thread dump with ASSERTS with jdk 1.5 or higher
> -------------------------------------------------------
>                 Key: DERBY-3618
>                 URL: https://issues.apache.org/jira/browse/DERBY-3618
>             Project: Derby
>          Issue Type: Improvement
>          Components: Services
>    Affects Versions:
>            Reporter: Kathey Marsden
>            Assignee: Erlend Birkenes
>            Priority: Minor
>         Attachments: DERBY-3618_1.diff
> It would be good to have a stack traces for all threads dump to the derby.log when an
assertion occurs with JVM's that support it.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message