[Bug java/20684] New: FileChannelImpl.java fails to sync filedescriptor on force() invocation
martin at egholm-nielsen dot dk
gcc-bugzilla@gcc.gnu.org
Tue Mar 29 12:29:00 GMT 2005
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
More information about the Gcc-bugs
mailing list