summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/nio/channels/FileLock.java
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-19 17:03:15 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-19 17:03:15 +0000
commit6fec1adc6432eeafcdea2ab165989e170cb6e64e (patch)
tree9b478aacc6b13f1beadacec2ade096dcb732af53 /libjava/classpath/java/nio/channels/FileLock.java
parentabae7d71da9352babb77917224e837ffdfa118be (diff)
downloadppe42-gcc-6fec1adc6432eeafcdea2ab165989e170cb6e64e.tar.gz
ppe42-gcc-6fec1adc6432eeafcdea2ab165989e170cb6e64e.zip
2012-12-19 Matthias Klose <doko@ubuntu.com>
Import GNU Classpath (20121202). * Regenerate class and header files. * Regenerate auto* files. * sources.am, gcj/javaprims.h: Regenerate. * gnu/java/nio/FileLockImpl.java (close): New override. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194618 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/nio/channels/FileLock.java')
-rw-r--r--libjava/classpath/java/nio/channels/FileLock.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/libjava/classpath/java/nio/channels/FileLock.java b/libjava/classpath/java/nio/channels/FileLock.java
index 78210b34d4d..02b561a5690 100644
--- a/libjava/classpath/java/nio/channels/FileLock.java
+++ b/libjava/classpath/java/nio/channels/FileLock.java
@@ -45,6 +45,7 @@ import java.io.IOException;
* @since 1.4
*/
public abstract class FileLock
+ implements AutoCloseable
{
private final FileChannel channel;
private final long position;
OpenPOWER on IntegriCloud