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: | Move Inner to Outer omits declared super() calls | ||
---|---|---|---|
Product: | java | Reporter: | mklaehn <mklaehn> |
Component: | Source | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rptmaestro |
Priority: | P2 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 198186 |
Description
mklaehn
2011-03-25 14:40:03 UTC
build: nbms-and-javadoc-6918-on-20110324 Platform: PC and Mac it looks like super call is lost somewhere in code generator I know the cause (the tree is considered to be synthetic, because the query for its end position uses the target CompilationUnitTree, which of course does not have an entry for the original tree). Not sure about the solution yet. *** Bug 204346 has been marked as a duplicate of this bug. *** Unfortunately, I still do not see a nice (and really universal) solution. Nonetheless, this should fix the problem in Move to Outter and similar refactorings: http://hg.netbeans.org/jet-main/rev/31cd2cacd4ae Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/31cd2cacd4ae User: Jan Lahoda <jlahoda@netbeans.org> Log: #197097: Move Inner to Outer omits declared super() calls |