Le 22/04/2020 à 09:59, Gilles Filippini a écrit :
Hi,
Matthias Klose a écrit le 20/04/2020 à 12:49 :
On 4/20/20 11:52 AM, Gilles Filippini wrote:
I'd like to do a bisect between openjdk-11 11.0.6+10-2 and 11.0.7+9-1 to
better understand the problem but I can't find the corresponding branch
on the openjdk Mercurial repo.
http://hg.openjdk.java.net/jdk-updates/jdk11u/
This commit is the culprit:
http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/21710e014d7f
It makes sense since it is related to System.loadLibrary().
Because Scilab loads Java from C++ code I guess moving usr_paths ans
sys_paths initialization out of System.loadLibrary might have some
consequences.
Applying the attached patch to openjdk-11 solves the problem. Not sure
this is the right thing to do, but it keeps the deadlock fix brought by
the jdk changeset and allows for sys_paths and usr_paths initialization
in System.loadLibrary() when needed.
@doko, please consider adding this patch to the openjdk-11 source
package until a proper fix is found for Scilab.
+ upstream
Cheers
S