[libbluray-devel] [Git][videolan/libbluray][master] Fix build failure after Oracle Java CPU for April 2022

Petri Hintukainen (@hpi) gitlab at videolan.org
Mon Apr 25 11:48:09 UTC 2022



Petri Hintukainen pushed to branch master at VideoLAN / libbluray


Commits:
8f26777b by Fridrich Strba at 2022-04-25T14:28:58+03:00
Fix build failure after Oracle Java CPU for April 2022

- - - - -


1 changed file:

- src/libbluray/bdj/java/java/io/BDFileSystem.java


Changes:

=====================================
src/libbluray/bdj/java/java/io/BDFileSystem.java
=====================================
@@ -227,6 +227,17 @@ public abstract class BDFileSystem extends FileSystem {
         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);



View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/8f26777b1ce124ff761f80ef52d6be10bcea323e

-- 
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/8f26777b1ce124ff761f80ef52d6be10bcea323e
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the libbluray-devel mailing list