ma, 2018-03-19 kello 23:12 +0100, [email protected] kirjoitti: > From: Sebastian Ramacher <[email protected]> > > Debian unstable switched to OpenJDK 9 as default Java implementation > recently. > Because of thatchange, libbluray started to fail building.
Java 9 is currently not an option for libbluray. I looked at the changes required for Java 9 couple of months ago. Even if we fix build time issues, new packaging model of JVM 9 prevents loading the .jar file. There are also several unresolved runtime issues. It should be possible to compile the .jar file with JDK 9 if sources are compiled against older Java rt libraries. This requires older JRE (but not JDK) for build and runtime. > The first patch is simple - support for everything before 1.6 was > removed. The second patch is only build-tested. > > Sebastian Ramacher (2): > bdj: bump source and target to 1.6 > bdj: fix requestFocus arguments The second patch won't build or run with Java < 9. We can either patch FocusEvent and CausedFocusEvent to work in both versions, or add new version of BDFramePeer.java for Java 9. If we add new version, resulting .jar file won't work with JRE < 9. But I don't know if it will be an issue if we need to split the .jar anyway ... > src/libbluray/bdj/build.xml | 4 ++-- > src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > _______________________________________________ libbluray-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libbluray-devel
