[libbluray-devel] Try to fix build with some java 6 versions

hpi1 git at videolan.org
Tue May 21 16:07:31 CEST 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue May 21 16:37:30 2013 +0300| [c99e3cd08c2a4b37aea425830a5d413e6797d387] | committer: hpi1

Try to fix build with some java 6 versions

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

 src/libbluray/bdj/java-j2se/java/awt/BDGraphicsDevice.java |    2 ++
 src/libbluray/bdj/java/java/awt/BDGraphicsDeviceImpl.java  |    4 ++++
 2 files changed, 6 insertions(+)

diff --git a/src/libbluray/bdj/java-j2se/java/awt/BDGraphicsDevice.java b/src/libbluray/bdj/java-j2se/java/awt/BDGraphicsDevice.java
index 81bc92c..ba5553c 100644
--- a/src/libbluray/bdj/java-j2se/java/awt/BDGraphicsDevice.java
+++ b/src/libbluray/bdj/java-j2se/java/awt/BDGraphicsDevice.java
@@ -25,7 +25,9 @@ class BDGraphicsDevice extends BDGraphicsDeviceImpl {
     }
 
     /* J2SE java 7 */
+    /*
     public boolean isWindowTranslucencySupported(GraphicsDevice.WindowTranslucency translucencyKind) {
         return true;
     }
+    */
 }
diff --git a/src/libbluray/bdj/java/java/awt/BDGraphicsDeviceImpl.java b/src/libbluray/bdj/java/java/awt/BDGraphicsDeviceImpl.java
index a531422..5dbdf9a 100644
--- a/src/libbluray/bdj/java/java/awt/BDGraphicsDeviceImpl.java
+++ b/src/libbluray/bdj/java/java/awt/BDGraphicsDeviceImpl.java
@@ -59,4 +59,8 @@ class BDGraphicsDeviceImpl extends GraphicsDevice {
 
     public void setFullScreenWindow(Window window) {
     }
+
+    boolean isWindowPerpixelTranslucencySupported() {
+        return true;
+    }
 }



More information about the libbluray-devel mailing list