In order to allow to use == between method types, MethodType must used a cache to intern MethodType. But that cache seems to prevent class unloading. => oups Rémi