Your test works. So I went to my test and eliminated all fragments step by step. I found that a Concern caused the problem. The following produces the error:

    public static class TestConcern
            extends GenericConcern {

        @This Object composite;

        public Object invoke( Object proxy, Method method, Object[] args )
                throws Throwable {
        }
    }

changing the composite reference to

        @This EntityComposite composite;

it works.

Because the wrong code actually worked I did not suspect any problems there. Later the toString() problem occured - apparently without any obvious relation. I had no clue whats going on or where to start searching.

Thanks for your help.

Falko



Rickard Öberg schrieb:
[...]
This produces correct equals/hashCode/toString implementations, i.e. delegates to the identity of the object.

Can you get the above to work? What is the difference between the above test and what you are doing?

/Rickard

--
Falko Bräutigam
http://polymap.org

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

Reply via email to