Niclas Hedhman wrote:
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?
I've already fixed it. Not sure it's important enough to do an issue for it.
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev