This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: stack overflows by java.lang.reflect.Array.newInstance(Class,int)
Problem solved by myself: There was a tricky infinite recursion
public final int getLambda() {
return getLambda();
}
instead of
public final int getLambda() {
return parameters.lambda;
}
Because I made the variable 'parameters' private, I had to introduce
getters like getLambda() for every appeance of parameters.lambda.
The only way to find this bug was to:
1. nativ compile the code with GCJ.
2. gdb the executable
java and gij failed! This trick worked!
Bojan