Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty stack error #2

Open
RafaelCaballero opened this issue Jul 28, 2014 · 0 comments
Open

Empty stack error #2

RafaelCaballero opened this issue Jul 28, 2014 · 0 comments
Labels

Comments

@RafaelCaballero
Copy link
Contributor

With this example:
public class VerySimple {

public static int fib(int n) {
    int r = 1;
    if (n > 1)
        r = n * fib(n - 1);
    return r;
}

}

An EmptyStack error is obtained. It seems there is some race condition: if a breakpoint is introduced before the error occurs, it dissapears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant