On Thu, 1 Nov 2012, Bill Janssen wrote:

I was trying to wrap the Java parts of JModelica.  So, here's a cookbook
to reproduce the problem:

 % svn checkout https://svn.jmodelica.org/tags/1.8 src
 % cd src/Compiler/ModelicaCompiler
 % setenv ANT_OPTS -Xmx1000m
 % ant
 % python -m jcc --jar ./bin/ModelicaCompiler.jar --jar ./bin/util.jar 
--include ../../ThirdParty/Beaver/beaver-0.9.6.1/lib/beaver.jar --python 
jcc_jmodelica --files 10 --reserved inline --build --install --rename 
java.awt.Component=AWTComponent

It fails on __wrap07__.cpp.  I didn't understand the error.  If I change
the "--jar ./bin/util.jar" to "--include ./bin/util.jar", it works OK.

Thank you for providing the specific steps to reproduce this.
I was able to reproduce and fix the bug which was due to a generic iterator returning T[].
The fix is in rev 1407922.

Andi..

Reply via email to