java: Fix generated functions that return RHashtable.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 2 Mar 2011 04:49:12 +0000 (04:49 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 2 Mar 2011 05:21:36 +0000 (05:21 +0000)
commiteb54a7ede43d9275f10db6fce1472256550da0eb
tree9af30f5bdaa8010005fb8b4a7089834fb776ccb3
parent0b2e45da609002d44cbbf689cfdee252e6806648
java: Fix generated functions that return RHashtable.

Creating a HashMap directly from JNI is possible but very tedious
(see: http://java.sun.com/docs/books/jni/html/fldmeth.html#26254)

Instead we use the existing code to return hashes from JNI as plain
String[], then add some code in the Java wrapper to convert these to
HashMap<String,String>.
generator/generator_java.ml