Am 17.04.2017 um 21:08 schrieb Emmanuel Bourg:
> Le 17/04/2017 à 17:45, YOSHINO Yoshihito a écrit :
> 
>> I have upgraded this package, while this error still persists.
>> Exactly the same error message appears in the netbeans log.
>> Creating the symlink works around this error.
> 
> Thank you for the feedback. That's odd because the renamed path of the
> library is now hardcoded and can't be changed by a system property.
> Creating a symlink should have no effect. Could this be caused by an
> embedded jar in netbeans ?

I can confirm that I see the same error message in the messages.log
file. When I change the following line in my patch from:

System.setProperty( "jna.boot.library.name", "jnidispatch" );

to

System.setProperty( "jna.boot.library.name", "jnidispatch.system" );

the INFO warning in the log file is gone.

I'm quite sure that we don't use an embedded jar of JNA somewhere in
Netbeans. I removed everything when I repacked the tarball. I also had
to make sure to patch libs.jna/nbproject/project.properties, so that the
build system doesn't try to install those external non-existent JNA
jars, otherwise the build would have failed.

I suspect that Netbeans' System.setProperty does something differently
and not what we expect or the patch for libjna-jni was incomplete.

Markus

Attachment: signature.asc
Description: OpenPGP digital signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to