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:
Matthias Klose
2012-12-19 17:03:15 +00:00
parent baeb2e1647
commit a1906e8bbf
454 changed files with 5224 additions and 2925 deletions
+1
View File
@@ -34,6 +34,7 @@ public: // actually protected
void finalize();
public:
jboolean isValid();
void close();
void release();
private:
jboolean __attribute__((aligned(__alignof__( ::java::nio::channels::FileLock)))) valid;
+5
View File
@@ -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.
*/