This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | ClassCastException: com.sun.tools.javac.tree.JCTree$JCLambda cannot be cast to com.sun.source.tree.StatementTree | ||
---|---|---|---|
Product: | debugger | Reporter: | Vladimir Voskresensky <vv159170> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | 82_HR_FIX |
Priority: | P1 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 226142 |
Attachments: | stacktrace |
Description
Vladimir Voskresensky
2016-09-08 10:52:45 UTC
Created attachment 161967 [details]
stacktrace
Reproduced. This, together with issue #267994, should be fixed into 8.2 so that we do not get exceptions during lambda evaluations. Fixed by changeset: 300697:67f31e5c2c2a http://hg.netbeans.org/core-main/rev/67f31e5c2c2a Please verify so that we can back-port to 8.2. Thanks. Integrated into 'main-silver', will be available in build *201609150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/67f31e5c2c2a User: mentlicher@netbeans.org Log: #267941, #267994: Make lambda evaluations more robust. I don't remember exact steps, but fast checks doesn't reproduce the problem. Integration to release82 branch approved. Martine, please merge the fix. Thanks. Thanks for the check Vladimir and for the approval, Jirko. The backport is there: http://hg.netbeans.org/releases/rev/8691116b10cf |