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$JCExpressionStatement cannot be cast to com.sun.source.tree.ExpressionTree | ||
---|---|---|---|
Product: | java | Reporter: | theshadow27 <theshadow27> |
Component: | Hints | Assignee: | Jan Lahoda <jlahoda> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 199583 |
Attachments: | stacktrace |
Description
theshadow27
2013-03-13 17:00:56 UTC
Created attachment 132576 [details]
stacktrace
Conversion from expression to expression statement works the same as conversion from the expression into the embedded expression from the statement after this change: http://hg.netbeans.org/jet-main/rev/134a187ce1d9 verified Integrated into 'releases', will be available in build *201305042200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/63a232d7d373 User: Jan Lahoda <jlahoda@netbeans.org> Log: #227429: tolerate rewrite of expression to expression statement. |