Submitting PR would be even better. I'm afraid that it's too late for 2022-09 release as the final build is supposed to literally happen today and bumping JNA now will give zero time for other projects to adjust nor any time for bugfixes. If there is PR submitted now we can do the license check/approval and etc. and have the change in I-build (for 2022-12) hopefully next week.
On 31.08.2022 01:29, Muhammad Umair
Sair wrote:
Hi,
I am facing issue on Linux with
NativeLibrary. When HTTPS proxy is set, I am getting errors on
terminal error stream with consistency
from org.eclipse.equinox.internal.security.linux.unlockSecretService(..)
and following call in this method gets stuck forever.
On investigation, I found that its a race condition between
finalizer and NativeLibrary.getInstance(..). On second time call
to get secret-1 library, the object from weak reference is
gone/GCed in NativeLibrary.libraries but the NativeLibrary
object itself is not finalized/GCed yet, so it gets
ref.get()==null and goes for reloading the library which causes
following errors in console. The reason is that the older
library was not unloaded yet and we loaded it again.
~~~~~~~~~~~~~~~~~~~~~~~~~
(java:3835014): GLib-GObject-WARNING **: 02:47:42.753: cannot
register existing type 'SecretService'
(java:3835014): GLib-GObject-WARNING **: 02:47:42.753:
cannot add private field to invalid (non-instantiatable) type
'<invalid>'