forked from pool/libbluray
4e2ac5cd3f
Build with jdk9 (and depend on java9) on systems that have it OBS-URL: https://build.opensuse.org/request/show/537489 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libbluray?expand=0&rev=66
50 lines
2.3 KiB
Diff
50 lines
2.3 KiB
Diff
--- libbluray-1.0.1/src/libbluray/bdj/build.xml 2017-03-02 14:33:49.000000000 +0100
|
|
+++ libbluray-1.0.1/src/libbluray/bdj/build.xml 2017-10-30 08:32:10.295848485 +0100
|
|
@@ -8,7 +8,6 @@
|
|
<property name="dist" location="../../.libs"/>
|
|
<property name="src_awt" value=""/>
|
|
<property name="src_asm" value="../../../contrib/asm/src/"/>
|
|
- <property name="bootclasspath" value=""/>
|
|
<property name="version" value=""/>
|
|
|
|
<target name="init">
|
|
@@ -20,14 +19,12 @@
|
|
<target name="compile" depends="init"
|
|
description="compile the source " >
|
|
<javac srcdir="${src_asm}" destdir="${build}" debug="yes"
|
|
- bootclasspath="${bootclasspath}"
|
|
- source="1.5" target="1.5">
|
|
+ source="1.6" target="1.6">
|
|
<compilerarg value="-XDignore.symbol.file"/>
|
|
<compilerarg value="-Xlint:-deprecation"/>
|
|
</javac>
|
|
<javac srcdir="${src}${src_awt}" destdir="${build}" debug="yes"
|
|
- bootclasspath="${bootclasspath}"
|
|
- source="1.4" target="1.4">
|
|
+ source="1.6" target="1.6">
|
|
<compilerarg value="-XDignore.symbol.file"/>
|
|
<compilerarg value="-Xlint:-deprecation"/>
|
|
</javac>
|
|
--- libbluray-1.0.1/src/libbluray/bdj/java/java/io/BDFileSystem.java 2017-03-02 14:33:49.000000000 +0100
|
|
+++ libbluray-1.0.1/src/libbluray/bdj/java/java/io/BDFileSystem.java 2017-10-30 09:25:33.483391121 +0100
|
|
@@ -38,7 +38,7 @@
|
|
import org.videolan.BDJXletContext;
|
|
import org.videolan.Logger;
|
|
|
|
-public abstract class BDFileSystem extends FileSystem {
|
|
+public abstract class BDFileSystem extends UnixFileSystem {
|
|
|
|
private static final Logger logger = Logger.getLogger(BDFileSystem.class.getName());
|
|
|
|
--- libbluray-1.0.1/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java 2017-03-02 14:33:49.000000000 +0100
|
|
+++ libbluray-1.0.1/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java 2017-10-30 09:08:08.259034704 +0100
|
|
@@ -173,7 +173,7 @@
|
|
return ((BDToolkit)BDToolkit.getDefaultToolkit()).createImage((Component)null, width, height);
|
|
}
|
|
|
|
- public boolean requestFocus(Component c, boolean a, boolean b, long l, sun.awt.CausedFocusEvent.Cause d) {
|
|
+ public boolean requestFocus(Component c, boolean a, boolean b, long l, FocusEvent.Cause d) {
|
|
if (c == null) {
|
|
return true;
|
|
}
|