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 78429 - elements with incorrect names may be imported to java uml project
Summary: elements with incorrect names may be imported to java uml project
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-20 00:24 UTC by bugbridge
Modified: 2009-05-25 21:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-06-20 00:24:58 UTC
Original status: 1-Dispatched; Suggested Status: NEW

Original submitter: akorostelev

Description:
user can import element with incorrect java name to java uml project and use it
on diagram.
As a result java source code may become not compilable.

How to reproduce:
- Create independant uml project.
- Add new class element to the model.
- name it 'throws'
- Create new java project
- create new reverse engineered uml project related to java project.
- create class diagram in RE uml project.
- drag-n-drop 'throws' class from independant project to diagram created in RE
uml project.
- add new class element on diagram in RE uml project. name it 'TestClass'
- add generelization link from 'TestClass' to 'throws'.
- invoke 'navigate to source' commant on 'TestClass'.

Source code is incorrect and can't be compiled.