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: | TreeMaker.constructor skips call to super | ||
---|---|---|---|
Product: | java | Reporter: | Jean-francois Denise <jfdenise> |
Component: | Source | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jean-francois Denise
2007-11-23 11:28:46 UTC
I tried creating a Block, I run into the same problem. Here is the code I use. If the Identifier is something else than super, it works well... IdentifierTree toto = maker.Identifier("super");// NOI18N LiteralTree mxbean = maker.Literal(Boolean.TRUE); List<ExpressionTree> ps = new ArrayList<ExpressionTree>(1); ps.add(mxbean); MethodInvocationTree printlnInvokation = maker.MethodInvocation(Collections.<ExpressionTree>emptyList(), toto, ps); ExpressionStatementTree t2 = maker.ExpressionStatement(printlnInvokation); This sounds very much like issue #122377. *** This issue has been marked as a duplicate of 122377 *** |