diff --git a/SOURCES/0025-contrib-libbluray-Fix-build-with-recent-JDK-version.patch b/SOURCES/0025-contrib-libbluray-Fix-build-with-recent-JDK-version.patch index 52727ca..530d650 100644 --- a/SOURCES/0025-contrib-libbluray-Fix-build-with-recent-JDK-version.patch +++ b/SOURCES/0025-contrib-libbluray-Fix-build-with-recent-JDK-version.patch @@ -7,11 +7,10 @@ Subject: [PATCH] Fix build failure after Oracle Java CPU for April 2022 src/libbluray/bdj/java/java/io/BDFileSystem.java | 11 +++++++++++ 1 file changed, 11 insertions(+) -diff --git a/src/libbluray/bdj/java/java/io/BDFileSystem.java b/src/libbluray/bdj/java/java/io/BDFileSystem.java -index 03add5d1..fabe57bc 100644 ---- a/src/libbluray/bdj/java/java/io/BDFileSystem.java -+++ b/src/libbluray/bdj/java/java/io/BDFileSystem.java -@@ -227,6 +227,17 @@ public abstract class BDFileSystem extends FileSystem { +diff -aruN libbluray-1.0.2/src/libbluray/bdj/java/java/io/BDFileSystem.java libbluray-1.0.2.alma/src/libbluray/bdj/java/java/io/BDFileSystem.java +--- libbluray-1.0.2/src/libbluray/bdj/java/java/io/BDFileSystem.java 2017-12-03 18:25:55.000000000 +0300 ++++ libbluray-1.0.2.alma/src/libbluray/bdj/java/java/io/BDFileSystem.java 2022-08-09 16:22:57.000000000 +0300 +@@ -167,6 +167,17 @@ return fs.isAbsolute(f); } @@ -27,7 +26,5 @@ index 03add5d1..fabe57bc 100644 + } + public String resolve(File f) { - if (!booted) - return fs.resolve(f); --- -2.35.1 + if (!f.isAbsolute()) { + logger.info("resolve relative file " + f.getPath());