doanduyhai/Achilles — pull request #141 by bric3 (2014-11-06 11:25:31+00:00)
Title: Filter out finalize method interception

Using using `finalize` is usually considered a bad practice if not dangerous. And a proxy for entity should not generate is own overriden `finalize` method for the sake of interception.

Also in debug mode, we have detected the Achilles proxies creates stress on the JVM Finalizer. (When the class is loaded the JVM will detect there's an overriden `finalize` method, and will queue the unreachable proxies for finalization)

Nonetheless if someone absolutely want Achilles to intercept finalize methods then a configuration toggle has been added.

I'm totally up for review and comment on this one.