Currently, Jute generates a "List<int>" for the Java code, which is broken. I have tried to simply replace "int" with "Integer" in the third parameter of the call to the constructor of JType. It doesn't seem to work, though.
One option would be to hack into JVector, and force it to use the type "Integer" whenever the Jute type is "int". If possible, I'd rather opt for a cleaner option, though.
Log in to post a comment.