[libbluray-devel] [Git][videolan/libbluray][master] Try Java8+ native method first
Petri Hintukainen
gitlab at videolan.org
Fri Feb 22 17:17:57 CET 2019
Petri Hintukainen pushed to branch master at VideoLAN / libbluray
Commits:
8d117940 by hpi1 at 2019-02-22T16:17:30Z
Try Java8+ native method first
- - - - -
1 changed file:
- src/libbluray/bdj/java-j2se/java/io/FileInputStream.java
Changes:
=====================================
src/libbluray/bdj/java-j2se/java/io/FileInputStream.java
=====================================
@@ -91,10 +91,10 @@ public class FileInputStream extends InputStream
/* open()/open0() wrapper to select correct native method at runtime */
private void openImpl(String name) throws FileNotFoundException {
try {
- open(name);
- } catch (UnsatisfiedLinkError e) {
/* OpenJDK 8 b40 */
open0(name);
+ } catch (UnsatisfiedLinkError e) {
+ open(name);
}
}
View it on GitLab: https://code.videolan.org/videolan/libbluray/commit/8d1179408c434b36e9ada25a12d655c27b05c4d4
--
View it on GitLab: https://code.videolan.org/videolan/libbluray/commit/8d1179408c434b36e9ada25a12d655c27b05c4d4
You're receiving this email because of your account on code.videolan.org.
More information about the libbluray-devel
mailing list