Skip transformation of null classes to avoid re-entrance check

This commit is contained in:
Mumfrey committed 2015-02-22 21:32:09 +00:00
1 parent b7cc517d4d
commit dd31dd2313
1 file changed
+4
@@ -226,6 +226,10 @@ public class MixinTransformer extends TreeTransformer {
*/
@Override
public byte[] transform(String name, String transformedName, byte[] basicClass) {
if (basicClass == null) {
return basicClass;
}
this.reEntranceCheck++;
if (this.reEntranceCheck > 1) {