[libbluray-devel] FileDescriptor: add closeAll() for Java 8 compability.

Ian Curtis git at videolan.org
Thu Oct 23 09:49:59 CEST 2014


libbluray | branch: master | Ian Curtis <i.curtis at gmail.com> | Thu Oct 23 10:48:06 2014 +0300| [4952786bfbd6b21a7a7e17b9a9b019e1f96a24f8] | committer: hpi1

FileDescriptor: add closeAll() for Java 8 compability.

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=4952786bfbd6b21a7a7e17b9a9b019e1f96a24f8
---

 src/libbluray/bdj/java/java/io/FileDescriptor.java |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libbluray/bdj/java/java/io/FileDescriptor.java b/src/libbluray/bdj/java/java/io/FileDescriptor.java
index 77842b9..44a1888 100644
--- a/src/libbluray/bdj/java/java/io/FileDescriptor.java
+++ b/src/libbluray/bdj/java/java/io/FileDescriptor.java
@@ -78,4 +78,7 @@ public final class FileDescriptor {
     /* Java 8 */
     void attach(Closeable c) {
     }
+
+    synchronized void closeAll(Closeable releaser) throws IOException {
+    }
 }



More information about the libbluray-devel mailing list