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

Summary: Can't create instances of objects with unchangeable attribute
Product: java Reporter: Svata Dedic <sdedic>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Exception stacktrace

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