Staz . 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.

Yup, I noticed that too, and that's a bug. I need to fix that.

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to