Return-Path: X-Original-To: apmail-clerezza-dev-archive@www.apache.org Delivered-To: apmail-clerezza-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 D8EB511B1E for ; Fri, 18 Apr 2014 17:51:23 +0000 (UTC) Received: (qmail 74361 invoked by uid 500); 18 Apr 2014 17:51:21 -0000 Delivered-To: apmail-clerezza-dev-archive@clerezza.apache.org Received: (qmail 74133 invoked by uid 500); 18 Apr 2014 17:51:18 -0000 Mailing-List: contact dev-help@clerezza.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@clerezza.apache.org Delivered-To: mailing list dev@clerezza.apache.org Received: (qmail 74000 invoked by uid 500); 18 Apr 2014 17:51:17 -0000 Delivered-To: apmail-incubator-clerezza-dev@incubator.apache.org Received: (qmail 73919 invoked by uid 99); 18 Apr 2014 17:51:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2014 17:51:16 +0000 Date: Fri, 18 Apr 2014 17:51:16 +0000 (UTC) From: "Enrico Daga (JIRA)" To: clerezza-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLEREZZA-912) Release locks in finally clauses to prevent deadlocks in VirtuosoMGraph MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Enrico Daga created CLEREZZA-912: ------------------------------------ Summary: Release locks in finally clauses to prevent deadlocks in VirtuosoMGraph Key: CLEREZZA-912 URL: https://issues.apache.org/jira/browse/CLEREZZA-912 Project: Clerezza Issue Type: Bug Reporter: Enrico Daga Assignee: Enrico Daga As the summary says, we should change this: readLock.lock(); ... readLock.unlock(); to readLock.lock(); try{ }finally{ readLock.unlock; } -- This message was sent by Atlassian JIRA (v6.2#6252)