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 152039 - Broken code generation for atribute with template type
Summary: Broken code generation for atribute with template type
Status: RESOLVED INCOMPLETE
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-10-31 20:29 UTC by Sergey Petrov
Modified: 2009-05-25 21:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project (33.56 KB, application/x-compressed)
2008-10-31 20:31 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2008-10-31 20:29:22 UTC
generate code for attached uml project.
see TEMP.java code
there is 'private dsfdf;' attribute, should be 'private AAA dsfdf;' where AAA is a template parameter for TEMP.
Comment 1 Sergey Petrov 2008-10-31 20:30:37 UTC
it's a regression from 6.1, need to verify if issue 123197 may be related.
Comment 2 Sergey Petrov 2008-10-31 20:31:51 UTC
Created attachment 73021 [details]
project
Comment 3 Sergey Petrov 2008-10-31 20:35:03 UTC
if I correct code manually and re, attributes without type will be added into model.
Comment 4 Sergey Petrov 2008-10-31 20:39:26 UTC
also 'AAA' is missed from setter parameter (but exist in return type for getter)
Comment 5 Sergey Petrov 2008-10-31 20:40:59 UTC
can't reproduce after restart, need more investigation
Comment 6 Sergey Petrov 2008-11-20 16:02:25 UTC
need to resolve in 7.0 if valid issue.
Comment 7 Sergey Petrov 2009-02-27 13:46:22 UTC
can't fix in 6.7 without additional details.