Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 64547 invoked from network); 6 Feb 2007 17:25:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2007 17:25:44 -0000 Received: (qmail 23072 invoked by uid 500); 6 Feb 2007 17:25:35 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 23025 invoked by uid 500); 6 Feb 2007 17:25:34 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 22953 invoked by uid 99); 6 Feb 2007 17:25:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 09:25:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 09:25:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 27DFB7142B5 for ; Tue, 6 Feb 2007 09:25:06 -0800 (PST) Message-ID: <10629819.1170782706160.JavaMail.jira@brutus> Date: Tue, 6 Feb 2007 09:25:06 -0800 (PST) From: "Tim Ellison (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-2973) [classlib] [luni] Concerns about synchronization in java.net.InetAddress In-Reply-To: <5824478.1168511007499.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-2973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Ellison closed HARMONY-2973. -------------------------------- Verified by Sian. > [classlib] [luni] Concerns about synchronization in java.net.InetAddress > ------------------------------------------------------------------------ > > Key: HARMONY-2973 > URL: https://issues.apache.org/jira/browse/HARMONY-2973 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Sian January > Assigned To: Tim Ellison > Attachments: H-2973.patch, H-2973upd.patch > > > FindBugs raised two concerns about synchronization in InetAddress.isReachableByMultiThread(...) - an unconditional wait on line 888, and also the fact that the same wait is not in a loop. Looking more closely at this method I am concerned about the synchronization because it looks like it would be possible for no notify calls to occur after that wait, which would mean the wait would continue indefinitely. It would be great if someone could take a look at this as I'm not entirely sure myself what the correct solution is. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.