On 09/10/15 14:30, Jaroslav Bachorik wrote:
Would it be possible for javac to recognise a class is an MXBean and turn-on -parameters for such classes only by default? Too hacky?Definitely :) Hacky as heck :)
I agree with Jaroslav. FWIW - The @CP is not used for the MXBean itself, but for the classes used as return type or parameter type in its management interface (and recursively). best regards, -- daniel