stack overflows by java.lang.reflect.Array.newInstance(Class,int)
Bojan Antonovic
bojan@antonovic.com
Thu Oct 28 22:25:00 GMT 2004
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
More information about the Java
mailing list