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 20852

Summary: Improper implementation for multivalued attributes returned
Product: java Reporter: Svata Dedic <sdedic>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Svata Dedic 2002-02-25 18:21:52 UTC
For multivalued attributes found in the MOF model (my famous labels from
EnumerationType instances, e.g.), the returned collection is a plain ArrayList,
which is not checking constraints for multiplicity uniqueness etc.
The ArrayList is serialized and deserialized; never replaced for an
AttrImmutableList or its subclass.
Comment 1 Martin Matula 2002-02-26 09:30:42 UTC
Svata, this is only the case during the boot sequence and it is
intentional (see my comment to issue #20849)