su, 2021-01-31 kello 12:58 -0300, Vitor Dall'Acqua kirjoitti:
> the only library I'm preloading is libnet.so that is used by
> libnio.so, or else it says it's not possible to find it. 

This seems to issue with OpenBSD too. There's workaround in Hotspot
code. Enabling it for Android could fix this.


diff --git a/hotspot/src/share/vm/runtime/os.cpp b/hotspot/src/share/vm/runtime/os.cpp
index 22c94cf3..ce64caa2 100644
--- a/hotspot/src/share/vm/runtime/os.cpp
+++ b/hotspot/src/share/vm/runtime/os.cpp
@@ -443,7 +443,7 @@ void* os::native_java_library() {
       vm_exit_during_initialization("Unable to load native library", ebuf);
     }
 
-#if defined(__OpenBSD__)
+#if defined(__OpenBSD__) || defined(__ANDROID__)
     // Work-around OpenBSD's lack of $ORIGIN support by pre-loading libnet.so
     // ignore errors
     if (dll_build_name(buffer, sizeof(buffer), Arguments::get_dll_dir(),
_______________________________________________
libbluray-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libbluray-devel

Reply via email to