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.

Bug 109336

Summary: Incorrect Relationship
Product: uml Reporter: Jan Lahoda <jlahoda>
Component: Reverse EngineeringAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Smaller Usecase

Description Jan Lahoda 2007-07-11 10:22:45 UTC
Daily build, 200707101200, Linux, from installer, running on JDK1.6.0_01, project is using JDK1.5.

I have opened java/hints and chose Reverse Engineer, selected only "Source Packages" to be Reverse Engineered and I let
Java Hints - Model to be stored in my /tmp directory. I then selected: Java Hints -
Model/Model/org/netbeans/modules/java/hints/introduce/IntroduceHint/Relationships/Aggregation/Kind. This node seems to
point to org.netbeans.modules.java.hints.StandardJavacWarnings.Kind (Navigate To Source leads to this class), which is
incorrect, IMO:
1. IntroduceHint.java uses Kind from com.sun.source.tree.Tree, not from
org.netbeans.modules.java.hints.StandardJavacWarnings
2. org.netbeans.modules.java.hints.StandardJavacWarnings.Kind is private, so it cannot be used in a IntroduceHint at all.
Comment 1 George Vasick 2007-09-29 00:14:01 UTC
Same core issues as Issue 80932.
Comment 2 Trey Spiva 2007-10-09 22:23:50 UTC
The fix to this problem would be in the core of how we resolve types.  Therefore it would require a full retest of the reverse 
engineering component.   There is also a possible performance impact as well.  Since we are a week from beta 2, I feel that this 
issue is to risky to fix at this time.
Comment 3 Trey Spiva 2007-10-09 22:25:56 UTC
Created attachment 50537 [details]
Smaller Usecase
Comment 4 George Vasick 2008-01-15 22:04:46 UTC
Reviewed and approved for waiver by UML -iteam.
Comment 5 Peter Lam 2008-05-22 22:43:38 UTC
this should not have been fixed in 6.5 yet.
Comment 6 Sergey Petrov 2009-01-30 11:32:14 UTC
may be similar with issue 115479.