public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/20684] New: FileChannelImpl.java fails to sync filedescriptor on force() invocation
@ 2005-03-30 17:57 martin at egholm-nielsen dot dk
2005-09-05 11:22 ` [Bug libgcj/20684] " rmathew at gcc dot gnu dot org
2005-09-05 14:57 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: martin at egholm-nielsen dot dk @ 2005-03-30 17:57 UTC (permalink / raw)
To: java-prs
The implementation of "java.nio.channels.FileChannel" in present CVS head (as of
2005-03-29) "gcc/libjava/gnu/java/nio/channels/FileChannelImpl.java" does not
obey the contract for #force(boolean), which states that is should
flush/synchronize the channel's file with the storage device.
However, the implementation (in Revision 1.6.32.2, at least) does nothing like it:
public void force (boolean metaData) throws IOException
{
if (!isOpen ())
throw new ClosedChannelException ();
}
--
Summary: FileChannelImpl.java fails to sync filedescriptor on
force() invocation
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: martin at egholm-nielsen dot dk
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org,konqueror at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20684
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcj/20684] FileChannelImpl.java fails to sync filedescriptor on force() invocation
2005-03-30 17:57 [Bug java/20684] New: FileChannelImpl.java fails to sync filedescriptor on force() invocation martin at egholm-nielsen dot dk
@ 2005-09-05 11:22 ` rmathew at gcc dot gnu dot org
2005-09-05 14:57 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2005-09-05 11:22 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|java |libgcj
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20684
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcj/20684] FileChannelImpl.java fails to sync filedescriptor on force() invocation
2005-03-30 17:57 [Bug java/20684] New: FileChannelImpl.java fails to sync filedescriptor on force() invocation martin at egholm-nielsen dot dk
2005-09-05 11:22 ` [Bug libgcj/20684] " rmathew at gcc dot gnu dot org
@ 2005-09-05 14:57 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-05 14:57 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-05 14:57 -------
Confirmed, classpath has a correct version so this is only a libgcj bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-09-05 14:57:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20684
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-05 14:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-30 17:57 [Bug java/20684] New: FileChannelImpl.java fails to sync filedescriptor on force() invocation martin at egholm-nielsen dot dk
2005-09-05 11:22 ` [Bug libgcj/20684] " rmathew at gcc dot gnu dot org
2005-09-05 14:57 ` pinskia 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).