diff --git a/bindings/java/src/jni/generate.pl b/bindings/java/src/jni/generate.pl index 6cb2a9eb..0138df28 100644 --- a/bindings/java/src/jni/generate.pl +++ b/bindings/java/src/jni/generate.pl @@ -844,12 +844,11 @@ my %pfields = ( Int => "IV", Char => "char", String => "char *", + NetAddr => "Sigar::NetAddr", ); $jfields{'NetAddr'} = $jfields{'String'}; -$pfields{'NetAddr'} = 'UV'; #XXX in java is a String - my %jinit = ( String => 'null', );