[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Intertype Questions after porting to 1.1.1

My mistake one one of my points, and I'd like to clarify for any others who may stumble on my note in the future. I wrote:

Paul Christmann wrote:
2. Introduced constructors seem to not invoke initializers on the class when invoked via reflection. Is this intended behavior?

As Ron and Wes pointed out, this should have been expected behavior for all introduced constructors, not just reflection.

And they were both correct; my tests to illustrate the behavior I was seeing were in fact wrong. When I corrected my tests, then I saw the behavior they described -- *any* introduced constructor results in initializers not being invoked.

Sorry for the confusion.


Paul Christmann
Prior Artisans, LLC