re PR libgcj/21372 (FileChannel.tryLock() return value incorrect)
authorAndrew Overholt <overholt@redhat.com>
Tue, 3 May 2005 22:38:17 +0000 (22:38 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 3 May 2005 22:38:17 +0000 (22:38 +0000)
commitf525d7a75ffa9e02d094828e91b2c8af49272e61
treed6cc1093a809e003aab0e160015f13e1f04bca5f
parent8148fe656d06e12c5d34e8fa56e23ee7eb9d5841
re PR libgcj/21372 (FileChannel.tryLock() return value incorrect)

2005-05-03  Andrew Overholt  <overholt@redhat.com>

PR libgcj/21372:
* gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
could not be acquired.
* java/nio/channels/FileLock.java (toString): Re-implement to be
in line with other implementations.

From-SVN: r99188
libjava/ChangeLog
libjava/gnu/java/nio/channels/FileChannelImpl.java
libjava/java/nio/channels/FileLock.java