summaryrefslogtreecommitdiff
path: root/libjava/java/nio/channels/FileLock.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/nio/channels/FileLock.h')
-rw-r--r--libjava/java/nio/channels/FileLock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libjava/java/nio/channels/FileLock.h b/libjava/java/nio/channels/FileLock.h
index fb358583518..1d16a7c4013 100644
--- a/libjava/java/nio/channels/FileLock.h
+++ b/libjava/java/nio/channels/FileLock.h
@@ -36,6 +36,7 @@ public:
virtual jlong position();
virtual jlong size();
virtual ::java::lang::String * toString();
+ virtual void close() = 0;
private:
::java::nio::channels::FileChannel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) channel__;
jlong position__;