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

Bug 87841

Summary: removed nested class is not removed from diagram
Product: uml Reporter: Andrew Korostelev <akorostelev>
Component: Reverse EngineeringAssignee: Yang Su <sherylsu>
Status: VERIFIED DUPLICATE QA Contact: issues <>
Priority: P2 Keywords: RELNOTE
Version: 5.x   
Target Milestone: 6.x   
Hardware: All   
OS: All   
Whiteboard: 55uml_beta_rn, GRIFFIN_CANDIDATE
Issue Type: DEFECT Exception Report:
Bug Depends on: 82727    
Bug Blocks:    

Description Andrew Korostelev 2006-10-24 12:37:06 UTC
User has java project with nested class and RE'ed uml project with class digram,
that shows outer and inner classes.
If user removes nested class from source and performs RE to the same uml
project, removed nested class is still shown on diagram.

workaround: close and reopen diagram. Nested class will disappear.

steps to reproduce:
- Create an empty Java project
- Add 'pack' package into the Java project
- Add 'OuterClass'  class under the package
  package pack;

  public class OuterClass {
    class InnerClass{
- Reverse Engineer the Java project into UML project
- Create a Class diagram
- Darg and Drop 'OuterClass' and 'OuterClass|InnerClass' on the
- Go to the Java project
- Remove InnerClass from source file
  package pack;
  public class OuterClass {
- Reverse Engineer the Java project into the existing UML project
- Go to the Class diagram
BUG: 'InnerClass' and nested link to 'OuterClass' are still displayed.
 It is problem of diagram refreshing, because Inner class is removed from model.
Comment 1 Kris Richards 2006-12-18 22:11:23 UTC
The "InnerClass" class is no longer an element in the model, but it still appears on the diagram.
Comment 2 Peter Lam 2007-03-20 23:35:27 UTC
low use case not currently impacting our installed user base.
Comment 3 Yang Su 2007-07-17 23:38:52 UTC

*** This issue has been marked as a duplicate of 80569 ***
Comment 4 Peter Lam 2007-09-14 00:01:49 UTC
verified in build 20070913.
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