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: | IAE at CasualDiff.copyTo | ||
---|---|---|---|
Product: | java | Reporter: | Jan Pokorsky <jpokorsky> |
Component: | Source | Assignee: | Pavel Flaska <pflaska> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 90254 | ||
Attachments: | IAE |
Description
Jan Pokorsky
2007-04-17 16:28:08 UTC
Created attachment 41100 [details]
IAE
I am adding a new method to empty class ElementHandle<ExecutableElement> handle = ...; ExecutableElement elm = handle.resolve(wc); Tree tree = SourceUtils.treeFor(wc, elm); List<Tree> members = new ArrayList<Tree>(); members.add(tree); ... ClassTree newClassTree = make.Class( classTree.getModifiers(), classTree.getSimpleName(), newTypeParams, superClass, implementsList, members); Here is the debugger output. old class tree: public class NewClassEx { public NewClassEx() { super(); } } new class tree: public class NewClassEx extends newpackage.NewSuperClass { public void public_method() { } } Honza said it is no longer reproducible. IMO revision 1.118 fixed it. ---------------------------- revision 1.118 date: 2007/04/18 14:44:49; author: pflaska; state: Exp; lines: +19 -37 Removed obsolete method and its usages. Clean-up. ---------------------------- Yes it works now. I guess 6.0M9 is the proper target milestone. |