[libbluray-devel] BDJ: add FileDescriptor.attach() stub (required by OpenJDK 8)

hpi1 git at videolan.org
Sun May 4 16:52:26 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun May  4 17:50:33 2014 +0300| [b03f875d88ab3ff85354858f7a71f0571e123673] | committer: hpi1

BDJ: add FileDescriptor.attach() stub (required by OpenJDK 8)

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

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

diff --git a/src/libbluray/bdj/java/java/io/FileDescriptor.java b/src/libbluray/bdj/java/java/io/FileDescriptor.java
index 7676ca2..77842b9 100644
--- a/src/libbluray/bdj/java/java/io/FileDescriptor.java
+++ b/src/libbluray/bdj/java/java/io/FileDescriptor.java
@@ -74,4 +74,8 @@ public final class FileDescriptor {
             return useCount;
         }
     }
+
+    /* Java 8 */
+    void attach(Closeable c) {
+    }
 }



More information about the libbluray-devel mailing list