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 - Improper implementation for multivalued attributes returned
Summary: Improper implementation for multivalued attributes returned
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-25 18:21 UTC by Svata Dedic
Modified: 2002-07-19 15:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)