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.
steps to reproduce: 0. create project in design center 1. create class diagram 2. add pattern to the diagram 3. bind class role with the pattern 4. add operation 'public void op( Vector par)' to the class 5. propagate pattern to design center 6. check operation in design center Vector is replaced with int The same for attributes, try to add private String log attribute to class role And for return types, add operation with String return type, check types after propagation, return type is replaced with void, attribute type is replaced with int. reproducible with coke060619
cloning was not working properly. Needed to resolve/create new data types. there is a followup problem; dependecies do not seem to be cloned during an apply of a design pattern.
verified with 061015