+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().
+
2005-04-26 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
try
{
begin();
- lock(position, size, shared, true);
+ lock(position, size, shared, false);
completed = true;
return new FileLockImpl(this, position, size, shared);
}
try
{
- boolean lockable = lock(position, size, shared, false);
+ boolean lockable = lock(position, size, shared, true);
completed = true;
return (lockable
? new FileLockImpl(this, position, size, shared)