On 1/21/2013 8:08 AM, Alan Bateman wrote:

I've put a webrev here with the proposed changes here:

http://cr.openjdk.java.net/~alanb/8006524/webrev/


This looks reasonable to me.

In summary, it makes it clear that @ConstructorProperties is not applicable when the runtime does not have this annotation. In the future then it might may be desirable to consider adding javax.management.ConstructorProperties and supporting both annotations. I don't propose to do this now because it would further consideration, including perhaps supporting both annotations in the java.beans persistence support.


I'm fine with the proposed spec change and look into the addition of javax.management.ConstructorProperties later. For now, to register such a MXBean on a runtime of compact3 profile (without java.beans), it will fail with NotCompliantMBeanException that helps diagnosing the problem (unless a type can be reconstructed via other rules).

Mandy

Reply via email to