From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 570 invoked by alias); 21 Apr 2005 00:25:06 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 532 invoked by uid 48); 21 Apr 2005 00:25:05 -0000 Date: Thu, 21 Apr 2005 00:25:00 -0000 From: "luca dot barbieri at gmail dot com" To: java-prs@gcc.gnu.org Message-ID: <20050421002459.21136.luca.barbieri@gmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't X-Bugzilla-Reason: CC X-SW-Source: 2005-q2/txt/msg00218.txt.bz2 List-Id: In gnu.java.nio.channels.FileChannelImpl tryLock and lock call the native lock functions with incorrect wait parameters: tryLock passes true and lock false. Of course, tryLock should pass false and lock should pass true. Patch attached. -- Summary: tryLock waits for the lock, and lock doesn't Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: critical Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: luca dot barbieri at gmail dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21136