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

SOE in 2.1.8 #1027

Closed
justmin opened this issue Feb 7, 2017 · 3 comments
Closed

SOE in 2.1.8 #1027

justmin opened this issue Feb 7, 2017 · 3 comments
Labels

Comments

@justmin
Copy link

justmin commented Feb 7, 2017

import java.util.Map;
import java.util.stream.Collectors;

public class TestCheckerFramework {
    public static String foo(Map<String, String> arg){
        return arg.keySet().stream()
                .map(key -> key)
                .collect(Collectors.joining());
    }
}

Error:java: SourceChecker.typeProcess: unexpected Throwable (StackOverflowError) while processing TestCheckerFramework.java; invoke the compiler with -AprintErrorStack to see the stack trace.

@wmdietlGC
Copy link
Contributor

Thanks for the bug report and sorry for the problem! I've reproduced the issue and have a fix. I'll open a PR soon.

wmdietlGC added a commit to wmdietlGC/checker-framework that referenced this issue Feb 13, 2017
@wmdietlGC
Copy link
Contributor

#1038

@mernst mernst added the crash label Feb 14, 2017
@wmdietlGC
Copy link
Contributor

Fixed in aff0922

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

4 participants