I've been looking into the new ClassTransformation API and I'm a bit puzzled
about why a whole bunch of methods are deprecated and are made to throw an
exception. I guess if any code depends on those methods, it will compile (w/
deprecation warnings) but will throw up at runtime. So, I'm a bit puzzled
why that's the case. If the intent is to keep just a little bit of backward
compatibility, then it seems likely that the methods shouldn't throw an
exception. If the goal is to replace those methods w/ something else, why
not just remove them so any code that depends on them just doesn't compile.

On a separate note, any pointers (beyond the javadoc and Howard's blog
posts) on how to replace the old usage w/ the new usage would be highly
appreciated. I'll probably dive into 5.2 to see some examples, but anything
extra would be great.

Regards,

Alex K

Reply via email to