FasterXML/jackson-module-afterburner — pull request #20 by stevenschlansker (2013-04-29 23:39:56+00:00)
Title: Protect Afterburner against IllegalAccessError and SecurityException

Some classes cause IllegalAccessError or SecurityException to be thrown when you try to generate classes that directly call into them. While it is obviously better to fix the problem before it happens, the rules are complicated and not easy to ensure 100% compliance with.

This changes the behavior to fall back to the "slow" method when such an exception is caught. This ensures that we do not cause fatal problems for users, but make it easy to continue using Afterburner and file bug reports to fix the problem "when we can". The intention is that eventually we fix the code generation to not cause this problem in the first place.