Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libbluray for openSUSE:Factory checked in at 2022-04-23 00:25:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libbluray (Old) and /work/SRC/openSUSE:Factory/.libbluray.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libbluray" Sat Apr 23 00:25:15 2022 rev:44 rq:971983 version:1.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libbluray/libbluray.changes 2022-04-13 21:04:52.380560780 +0200 +++ /work/SRC/openSUSE:Factory/.libbluray.new.1538/libbluray.changes 2022-04-23 00:25:40.071764150 +0200 @@ -1,0 +2,11 @@ +Thu Apr 21 15:17:38 UTC 2022 - Fridrich Strba <[email protected]> + +- Removed patch: + * libbluray-java9.patch + + Does not have any effect in the current build +- Added patch: + * libbluray-April2022CPU.patch + + implement the new java.io.FileSystem.isInvalid method + that entered all supported java versions with April 2022 CPU + +------------------------------------------------------------------- Old: ---- libbluray-java9.patch New: ---- libbluray-April2022CPU.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libbluray.spec ++++++ --- /var/tmp/diff_new_pack.hf8pb1/_old 2022-04-23 00:25:40.619764539 +0200 +++ /var/tmp/diff_new_pack.hf8pb1/_new 2022-04-23 00:25:40.623764542 +0200 @@ -28,7 +28,7 @@ Source0: https://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2 Source99: baselibs.conf Patch0: libbluray-pkgconfig.patch -Patch1: libbluray-java9.patch +Patch1: libbluray-April2022CPU.patch BuildRequires: ant BuildRequires: java-devel >= 1.8 BuildRequires: libtool @@ -91,9 +91,7 @@ %prep %setup -q %patch0 -p1 -%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} %patch1 -p1 -%endif %build %configure \ ++++++ libbluray-April2022CPU.patch ++++++ --- libbluray-1.3.1/src/libbluray/bdj/java/java/io/BDFileSystem.java 2022-03-03 18:05:27.000000000 +0100 +++ libbluray-1.3.1/src/libbluray/bdj/java/java/io/BDFileSystem.java 2022-04-21 17:35:16.594935352 +0200 @@ -227,6 +227,17 @@ return fs.isAbsolute(f); } + public boolean isInvalid(File f) { + try { + Method m = fs.getClass().getDeclaredMethod("isInvalid", new Class[] { File.class }); + Object[] args = new Object[] {(Object)f}; + Boolean result = (Boolean)m.invoke(fs, args); + return result.booleanValue(); + } finally { + return false; + } + } + public String resolve(File f) { if (!booted) return fs.resolve(f);
