java/lang/UnsatisfiedLinkError
muffinmad opened this issue · 10 comments
Calling:
Thread.holdsLock(this);
leads to this error:
java/lang/UnsatisfiedLinkError: java/lang/VMThread.holdsLock(Ljava/lang/Object;)Z
at java/lang/VMThread.holdsLock (native)
at java/lang/Thread.holdsLock (line 1092)
Is it Avian or Android classpath?
It's Android classpath. Linux x86_64.
It looks like this is an integration problem. I have created an issue in Avian repo. And I will try to find out a solution by myself as well.
Ok!
Same problem with
Thread.yield();
java/lang/UnsatisfiedLinkError: java/lang/VMThread.yield()V
at java/lang/VMThread.yield (native)
at java/lang/Thread.yield (line 1080)
It turns out Avian is missing this method at all - it's not present neither in Avian nor in Android classpath...
I'm trying to think what can be done here to fix that.
The Avian contributors have fixed this bug today, so we will take the fix with the next Avian update.
So the next minor update of Zetes would contain the fix. I'll close this bug when it happens.
We have taken the last Avian update upstream.
@muffinmad, please, check if you could reproduce the problem, it should be solved now.
BigInteger bi = BigInteger.valueOf(0);
java/lang/UnsatisfiedLinkError: java/math/NativeBN.BN_new()J
at java/math/NativeBN.BN_new (native)
at java/math/BigInt.makeValid (line 51)
at java/math/BigInt.putULongInt (line 85)
at java/math/BigInteger.<init> (line 103)
at java/math/BigInteger.<clinit> (line 66)
Big numbers support is off right now, is it needed?