[libbluray-devel] BDToolkit: fix another compatibility issue with Java < 9

hpi1 git at videolan.org
Sun Sep 2 10:33:02 CEST 2018


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Sep  2 11:10:41 2018 +0300| [8677efda5d36f347fba2e01394c73f832e38e6f2] | committer: hpi1

BDToolkit: fix another compatibility issue with Java < 9

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

 src/libbluray/bdj/java-j2se/java/awt/BDToolkit.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/libbluray/bdj/java-j2se/java/awt/BDToolkit.java b/src/libbluray/bdj/java-j2se/java/awt/BDToolkit.java
index 50b61bb8..0eacb235 100644
--- a/src/libbluray/bdj/java-j2se/java/awt/BDToolkit.java
+++ b/src/libbluray/bdj/java-j2se/java/awt/BDToolkit.java
@@ -21,6 +21,7 @@
 package java.awt;
 
 import java.awt.peer.KeyboardFocusManagerPeer;
+import java.awt.peer.RobotPeer;
 
 import sun.awt.ComponentFactory;
 import sun.awt.KeyboardFocusManagerPeerProvider;
@@ -191,4 +192,9 @@ public class BDToolkit extends BDToolkitBase
     public DataTransferer getDataTransferer() {
         return null;
     }
+    public RobotPeer createRobot(Robot target, GraphicsDevice screen) {
+        logger.unimplemented();
+        throw new Error("Not implemented");
+    }
+
 }



More information about the libbluray-devel mailing list