Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80A4B6578 for ; Wed, 27 Jul 2011 21:01:34 +0000 (UTC) Received: (qmail 41445 invoked by uid 500); 27 Jul 2011 21:01:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 41364 invoked by uid 500); 27 Jul 2011 21:01:33 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 41349 invoked by uid 99); 27 Jul 2011 21:01:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 21:01:33 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 21:01:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BC0C88D2D6 for ; Wed, 27 Jul 2011 21:01:09 +0000 (UTC) Date: Wed, 27 Jul 2011 21:01:09 +0000 (UTC) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: <645829267.13360.1311800469767.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <689387383.32690.1304958363160.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (DERBY-5223) Thread's interrupted flag not always preserved after Derby returns from JDBC API call MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik closed DERBY-5223. -------------------------------- > Thread's interrupted flag not always preserved after Derby returns from JDBC API call > ------------------------------------------------------------------------------------- > > Key: DERBY-5223 > URL: https://issues.apache.org/jira/browse/DERBY-5223 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.8.1.2 > Reporter: Dag H. Wanvik > Assignee: Dag H. Wanvik > Fix For: 10.8.1.6, 10.9.0.0 > > Attachments: derby-5223.diff, derby-5223.stat, derby-5223b.diff, derby-5223b.stat > > > Sometimes we have this this stack trace on the log from SuitesAll: > .Exception in thread "WorkerThread. Thread#5" junit.framework.AssertionFailedError > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.assertTrue(Assert.java:20) > at junit.framework.Assert.assertTrue(Assert.java:27) > at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest$WorkerThread.run(InterruptResilienceTest.java:430) > This happens sometimes when the application thread's interrupt flag is set before we enter a Derby API call, but the flag is cleared on return contrary to our specified behavior. > Cf mention on https://issues.apache.org/jira/browse/DERBY-5081?focusedCommentId=13030155&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13030155 > I can reproduce this every 20 runs or so on Linux with JDK7, but it has been seen also on Windows, so it is not VM specific. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira