[
https://issues.apache.org/jira/browse/DERBY-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588802#action_12588802
]
Kathey Marsden commented on DERBY-3618:
---------------------------------------
Thanks Erlend for picking up this issue. You might want to look at the code
for org.apache.derbyTesting.functionTests.util.ThreadDump and
org.apache.derbyTesting.functionTests.util.TestUtil.dumpAllStackTracesIfSupported
for sample code on how to dump the stack traces. Something similar will need
to be brought into
org.apache.derby.shared.common.sanity.SanityManager.THROWASSERT for this issue.
The testing classes are not available from the code.
Kathey
> 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: 10.5.0.0
> Reporter: Kathey Marsden
> Assignee: Erlend Birkenes
> Priority: Minor
>
> 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.