Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:A
libbluray
libbluray-java9.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libbluray-java9.patch of Package libbluray
--- 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-j2se/java/io/BDFileSystemImpl.java +++ libbluray-1.0.1/src/libbluray/bdj/java-j2se/java/io/BDFileSystemImpl.java @@ -38,4 +38,9 @@ class BDFileSystemImpl extends BDFileSystem { public long getSpace(File f, int t) { return fs.getSpace(f, t); } + + /* Java 9 */ + public int getNameMax(String path) { + return 255; + } } --- 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; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor