RefAssociation.refAllLinks() really live in MDR ?
Holger Krug <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <[email protected]> |
In browsing MDR sources I wonder if the return value of RefAssociation.refAllLinks() is really live (i.e. reflects any changes to the source) as required by the JMI spec, sec. 5.2.3 RefAssociation, p.85. If I correctly understand the code in AssociationGenerator (lines 94+120), refAllLinks() in generated (non-derived) association classes calls AssociationHandler._handleAllLinks(), which calls StorableAssociation.getAllLinks() and wraps the results in an IndexSetWrapper. Unfortunately StorableAssociation.getAllLinks() does not return a live collection, but an instance of java.util.ArrayList. Am I wrong ? If not would it be possible to state briefly what still has to be done to reach full JMI compliance ? It would not be impossible to invest some manpower from our side, if necessary. -- Holger Krug [email protected]