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 20422 - Can't create instances of objects with unchangeable attribute
Summary: Can't create instances of objects with unchangeable attribute
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-11 09:29 UTC by Svata Dedic
Modified: 2005-07-27 08:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception stacktrace (1.32 KB, text/plain)
2002-02-11 09:30 UTC, Svata Dedic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2002-02-11 09:29:36 UTC
My class' attribute has isChangeable == false. When I attempted to call
createThatClass() method on the package proxy, the call was rejected by
InvalidCallException, although assignment of an unchangeable attribute should be
permitted during instance creation.
There's no workaround (except dropping the attribute's constraint). See the
attached stacktrace for check's location.
Comment 1 Svata Dedic 2002-02-11 09:30:09 UTC
Created attachment 4646 [details]
Exception stacktrace
Comment 2 Daniel Prusa 2002-02-15 15:51:09 UTC
Fixed in main trunk.
Comment 3 Jiri Prox 2005-07-27 08:28:25 UTC
quiet for too long, verified