On Thu, May 7, 2009 at 1:10 AM, Staz . <[email protected]> wrote: > Hmm, after I cloned the codebase some time ago, I noticed the replacement of > EntityBuilder's "state" and "stateFor" methods for "prototype" and > "prototypeFor" methods, respectively. The documentation says that the > functionality would still be the same (and so does Rickard's mail from > April), and that changing even immutable properties should be possible. > However, now when I call > "SomeClass prototype = builder.prototypeFor(SomeClass.class)" > and try to set properties on "prototype", namely properties marked with > @Immutable annotation, it gives me IllegalStateException: "Property [name of > property] is immutable". > I updated codebase again at around 22 GMT on 6.5.09, cleared all my output > paths and tried again, it still gives me that error. The same piece of code > used to work fine when using "stateFor" method.
Perhaps put up a Jira issue about it? Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

