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.
Original status: 1-Dispatched; Suggested Status: NEW These items should be added to the Keywords: RELNOTE Original submitter: sunflower Description: Coke build: 2006.04.26 Steps to reproduce: - Create a java application - Add 'list' package into the java application - Add Generic 'ListHandler' interface under the package: ----------------------------------------------------------- public interface ListHandler <Element>{ void start(); void finish(); void handle(Element element); } ----------------------------------------------------------- - Add Generic 'ListClass' class under the package: ----------------------------------------------------------- public class ListClass<Element> { Node head; public boolean isEmpty() { return head == null; } public void addElement(Element element) { head = new Node(element, head); } public Element removeElement() { if (! isEmpty()){ Element element = head.getElement(); head = head.getNext(); return element; } return null; } public void iterate(ListHandler<Element> handler) { Node node = head; handler.start(); while( node != null){ handler.handle(node.getElement()); node = node.getNext(); } handler.finish(); } private class Node{ Node next; Element element; Node(Element element, Node next){ this.element = element; this.next = next; } Element getElement(){ return element; } Node getNext(){ return next; } } } ----------------------------------------------------------- - Create UML Reverse Engineering project associated with the java application - Select the 'public void iterate(ListHandler<Element> handler)' operation under 'Model|list|ListClass|Operation' uml project tree - Invoke 'Navigate To Source' Source code does not appear
It appears to be fixed in the latest coco_griffin
verified in coco rc2 build.