[libvirt] Java binding blockStats bug (libvirt-java-0.2.1)

Daniel Veillard veillard at redhat.com
Mon May 11 08:51:42 UTC 2009


On Sun, May 10, 2009 at 02:06:54AM +0300, Zvi Dubitzky wrote:
> running blcokStats() with Java binding  (libvirt-java-0.2.1 ) I get an 
> exception
> 
> Inspecting the src/jni/org_libvirt_Domain.c  is see the following lines of 
> code :
[...]
> The bold line should be replaced by :
> 
>   jclass stats_cls=(*env)->FindClass(env, "org/libvirt/DomainBlockStats")
> 
> as we deal here with blockStats and not network interface Stats !

  Ah, right, good catch ! Applied and commited,

   thanks !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list