public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/21136] tryLock waits for the lock, and lock doesn't
2005-04-21 0:25 [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't luca dot barbieri at gmail dot com
@ 2005-04-21 0:25 ` luca dot barbieri at gmail dot com
2005-04-26 21:49 ` cvs-commit at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: luca dot barbieri at gmail dot com @ 2005-04-21 0:25 UTC (permalink / raw)
To: java-prs
------- Additional Comments From luca dot barbieri at gmail dot com 2005-04-21 00:25 -------
Created an attachment (id=8693)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8693&action=view)
Patch
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21136
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't
@ 2005-04-21 0:25 luca dot barbieri at gmail dot com
2005-04-21 0:25 ` [Bug libgcj/21136] " luca dot barbieri at gmail dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: luca dot barbieri at gmail dot com @ 2005-04-21 0:25 UTC (permalink / raw)
To: java-prs
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/21136] tryLock waits for the lock, and lock doesn't
2005-04-21 0:25 [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't luca dot barbieri at gmail dot com
2005-04-21 0:25 ` [Bug libgcj/21136] " luca dot barbieri at gmail dot com
2005-04-26 21:49 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-26 21:49 ` tromey at gcc dot gnu dot org
2005-04-26 22:02 ` [Bug libgcj/21136] [4.0 only] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-04-26 21:49 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2005-04-26 21:49 -------
Thanks, I checked in your fix to cvs trunk.
I put it on my list to consider for 4.0.1 as well.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21136
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/21136] tryLock waits for the lock, and lock doesn't
2005-04-21 0:25 [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't luca dot barbieri at gmail dot com
2005-04-21 0:25 ` [Bug libgcj/21136] " luca dot barbieri at gmail dot com
@ 2005-04-26 21:49 ` cvs-commit at gcc dot gnu dot org
2005-04-26 21:49 ` tromey at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-26 21:49 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-26 21:49 -------
Subject: Bug 21136
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tromey@gcc.gnu.org 2005-04-26 21:49:24
Modified files:
libjava : ChangeLog
libjava/gnu/java/nio/channels: FileChannelImpl.java
Log message:
2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
PR libgcj/21136:
* gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
'false' to native lock().
(lock): Pass 'true' to native lock().
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3559&r2=1.3560
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/java/nio/channels/FileChannelImpl.java.diff?cvsroot=gcc&r1=1.8&r2=1.9
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21136
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/21136] [4.0 only] tryLock waits for the lock, and lock doesn't
2005-04-21 0:25 [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't luca dot barbieri at gmail dot com
` (2 preceding siblings ...)
2005-04-26 21:49 ` tromey at gcc dot gnu dot org
@ 2005-04-26 22:02 ` pinskia at gcc dot gnu dot org
2005-04-26 22:03 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-26 22:02 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-26 22:01 -------
(In reply to comment #2)
> Thanks, I checked in your fix to cvs trunk.
> I put it on my list to consider for 4.0.1 as well.
Lets reopen it then for now and mark it as "4.0 only"
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Status|RESOLVED |UNCONFIRMED
Resolution|FIXED |
Summary|tryLock waits for the lock, |[4.0 only] tryLock waits for
|and lock doesn't |the lock, and lock doesn't
Target Milestone|4.1.0 |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21136
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/21136] [4.0 only] tryLock waits for the lock, and lock doesn't
2005-04-21 0:25 [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't luca dot barbieri at gmail dot com
` (3 preceding siblings ...)
2005-04-26 22:02 ` [Bug libgcj/21136] [4.0 only] " pinskia at gcc dot gnu dot org
@ 2005-04-26 22:03 ` pinskia at gcc dot gnu dot org
2005-04-28 10:59 ` aph at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-26 22:03 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/java-
| |patches/2005-
| |q2/msg00305.html
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |patch
Known to fail| |4.0.0
Known to work| |4.1.0
Last reconfirmed|0000-00-00 00:00:00 |2005-04-26 22:03:23
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21136
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/21136] [4.0 only] tryLock waits for the lock, and lock doesn't
2005-04-21 0:25 [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't luca dot barbieri at gmail dot com
` (4 preceding siblings ...)
2005-04-26 22:03 ` pinskia at gcc dot gnu dot org
@ 2005-04-28 10:59 ` aph at gcc dot gnu dot org
2005-04-29 18:40 ` cvs-commit at gcc dot gnu dot org
2005-04-29 18:41 ` tromey at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-04-28 10:59 UTC (permalink / raw)
To: java-prs
------- Additional Comments From aph at gcc dot gnu dot org 2005-04-28 10:59 -------
Added to Tom Tromey's queue for 4.0 branch.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21136
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/21136] [4.0 only] tryLock waits for the lock, and lock doesn't
2005-04-21 0:25 [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't luca dot barbieri at gmail dot com
` (5 preceding siblings ...)
2005-04-28 10:59 ` aph at gcc dot gnu dot org
@ 2005-04-29 18:40 ` cvs-commit at gcc dot gnu dot org
2005-04-29 18:41 ` tromey at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-29 18:40 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-29 18:40 -------
Subject: Bug 21136
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: tromey@gcc.gnu.org 2005-04-29 18:40:00
Modified files:
libjava : ChangeLog
libjava/gnu/java/nio/channels: FileChannelImpl.java
Log message:
2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
PR libgcj/21136:
* gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
'false' to native lock().
(lock): Pass 'true' to native lock().
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3391.2.55&r2=1.3391.2.56
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/java/nio/channels/FileChannelImpl.java.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.7.4.1&r2=1.7.4.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21136
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/21136] [4.0 only] tryLock waits for the lock, and lock doesn't
2005-04-21 0:25 [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't luca dot barbieri at gmail dot com
` (6 preceding siblings ...)
2005-04-29 18:40 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-29 18:41 ` tromey at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-04-29 18:41 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2005-04-29 18:41 -------
I checked this in on the 4.0 branch.
It will appear in 4.0.1.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21136
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-04-29 18:41 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-21 0:25 [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't luca dot barbieri at gmail dot com
2005-04-21 0:25 ` [Bug libgcj/21136] " luca dot barbieri at gmail dot com
2005-04-26 21:49 ` cvs-commit at gcc dot gnu dot org
2005-04-26 21:49 ` tromey at gcc dot gnu dot org
2005-04-26 22:02 ` [Bug libgcj/21136] [4.0 only] " pinskia at gcc dot gnu dot org
2005-04-26 22:03 ` pinskia at gcc dot gnu dot org
2005-04-28 10:59 ` aph at gcc dot gnu dot org
2005-04-29 18:40 ` cvs-commit at gcc dot gnu dot org
2005-04-29 18:41 ` tromey at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).