[libvirt] Release of libvirt-java-0.5.0
Claudio Bley
cbley at av-test.de
Tue Sep 17 07:18:02 UTC 2013
Hi.
At Tue, 17 Sep 2013 10:18:52 +0800,
Daniel Veillard wrote:
>
> > Any ideas with this build issue for FreeBSD update of libvirt-java? I do
> > have jna (jna-3.2.7_1) installed.
Your JNA version is too old. Before version 3.3.0 JNA lacked a
function to free malloc'd memory.
> > build:
> > [javac] Compiling 64 source files to
> > /usr/home/helfman/workspace/ports/devel/libvirt-java/work/libvirt-java-0.5.0/target/classes
> > [javac]
> > /usr/home/helfman/workspace/ports/devel/libvirt-java/work/libvirt-java-0.5.0/src/main/java/org/libvirt/Library.java:41:
> > cannot find symbol
> > [javac] symbol : method free(long)
> > [javac] location: class com.sun.jna.Native
> > [javac] Native.free(Pointer.nativeValue(ptr));
>
> Wido said the requirement for jna had to be bumped to 3.5.0 that
> might be the reason !
The code still only requires at least JNA 3.3.0 - although I'd
recommend using a more recent version.
We could even express this in the POM using a version range, like
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<scope>provided</scope>
<version>[3.3,4.0)</version>
</dependency>
Claudio
--
AV-Test GmbH, Henricistraße 20, 04155 Leipzig, Germany
Phone: +49 341 265 310 19
Web:<http://www.av-test.org>
Eingetragen am / Registered at: Amtsgericht Stendal (HRB 114076)
Geschaeftsfuehrer (CEO): Andreas Marx, Guido Habicht, Maik Morgenstern
More information about the libvir-list
mailing list