Import GNU Classpath (20121202).
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. From-SVN: r194618
This commit is contained in:
@@ -90,6 +90,11 @@ public final class FileLockImpl extends FileLock
|
||||
return valid;
|
||||
}
|
||||
|
||||
public void close() throws Exception
|
||||
{
|
||||
release();
|
||||
}
|
||||
|
||||
/**
|
||||
* Releases the lock if it is still valid. Marks this lock as invalid.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user