Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 75643

Summary: UML adds invalid imports to Java source files.
Product: uml Reporter: dafreels <dafreels>
Component: Code GenerationAssignee: Kris Richards <krichard>
Status: RESOLVED WORKSFORME QA Contact: issues <>
Priority: P1 CC: tomdw
Version: 5.x   
Target Milestone: 6.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Report:
Attachments: Screen capture of invalid imports.

Description dafreels 2006-04-27 19:45:38 UTC
I have reverse engineered my project (Java Project w/existing sources) into UML.
Now, when I go back into the source and change method signatures, the UML
project keeps adding imports to an object, but it doesn't include the package.


appears in my file as import ImportedObject; causing the source editor to show
an error. This prevents me from orginizing imports because that will not execute
when errors are present so I have to remove the bad import and then orginize.
The class javadoc comment also gets an extra line each time the UML project
decides to fix my imports.
Comment 1 dafreels 2006-04-27 20:33:25 UTC
Created attachment 30114 [details]
Screen capture of invalid imports.
Comment 2 Peter Lam 2006-06-01 11:41:39 UTC
known issue.
Comment 3 Kris Richards 2006-09-21 18:53:21 UTC
This bug will go away when live roundtrip is removed.
Comment 4 Kris Richards 2006-09-21 18:55:28 UTC
verify after live round trip is removed.
Comment 5 George Vasick 2007-05-18 19:22:06 UTC
Needs to be verified in NB 6.0.
Comment 6 Andrew Korostelev 2007-05-23 13:01:08 UTC
not reproducible after live round trip is removed.
can't reproduce with nb6.0 RE/CodeGen feature.
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo