[libvirt] [java] [PATCH 0/6] Fix JNA wrapping, fix memory leaks and wrap security model / label function

Michal Privoznik mprivozn at redhat.com
Wed Jul 8 12:42:52 UTC 2015


On 07.07.2015 23:25, Claudio Bley wrote:
> Hi.
> 
> At Wed, 28 Jan 2015 21:45:41 +0100,
> Claudio Bley wrote:
>>
>> Hi.
>>
>> First and foremost, this series fixes a few mistakes in the wrapping
>> code found by inspecting the org.libvirt.jna.Libvirt interface and the
>> corresponding C types of the XML API file.
>>
>> The last two patches add two missing functions introduced in libvirt
>> 0.6.1.
>>
>> At the end of the day, this means libvirt-java has gained full
>> coverage of the libvirt functions up to and including version
>> 0.8.5. Yay!
>>
>> Claudio Bley (6):
>>   JNA: fix wrong return type void vs. int
>>   JNA: add CString class and fix memory leaks
>>   JNA: simplify freeing memory for C strings
>>   Use the CString class for Arrays of CStrings too
>>   Implement Domain.getSecurityLabel and add SecurityLabel class
>>   Implement Connect.getSecurityModel and add SecurityModel class
> 
> It has been a while since I posted these patches. Because nobody
> objected until now, I'm just going to push them.

Yes, that's the same approach I'm using for libvirt-php, where the
reviewer's capacity consists of, well, just me. I guess it's okay until
the time those projects drag more attention.

Michal




More information about the libvir-list mailing list