[libbluray-devel] Fix build with recent java versions.
hpi1
git at videolan.org
Tue Apr 30 08:42:00 CEST 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Apr 30 08:55:50 2013 +0300| [7e35342826e6269096abf4b9da10daae5aaea849] | committer: hpi1
Fix build with recent java versions.
updateAlwaysOnTopState() was added in java 1.6 update 45.
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=7e35342826e6269096abf4b9da10daae5aaea849
---
src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java b/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java
index 1d7b702..48835d6 100644
--- a/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java
+++ b/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java
@@ -104,9 +104,14 @@ public class BDFramePeer extends BDComponentPeer implements FramePeer
public void repositionSecurityWarning() {
}
+ /* Removed in java 1.6 update 45 */
public void setAlwaysOnTop(boolean b) {
}
+ /* java 1.6 update 45. Also in java 7 / 8. */
+ public void updateAlwaysOnTopState() {
+ }
+
public void setModalBlocked(Dialog d,boolean b) {
}
More information about the libbluray-devel
mailing list