You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2020/09/24 23:35:05 UTC

[groovy] branch GROOVY_3_0_X updated: Log `visitPermittedSubclass` during bytecode generation

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
     new eff0d80  Log `visitPermittedSubclass` during bytecode generation
eff0d80 is described below

commit eff0d80433b1ce8423a2a9818bc919ea43bc5bf4
Author: Daniel Sun <su...@apache.org>
AuthorDate: Fri Sep 25 07:33:38 2020 +0800

    Log `visitPermittedSubclass` during bytecode generation
    
    (cherry picked from commit f016c095f1273615e1b599fefbb32ad41d15714d)
---
 .../org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java    | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java b/src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java
index 5ab719c..f866841 100644
--- a/src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java
+++ b/src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java
@@ -548,4 +548,10 @@ public class LoggableTextifier extends Textifier {
         super.visitRecordComponentEnd();
         log();
     }
+
+    @Override
+    public void visitPermittedSubclass(String permittedSubclass) {
+        super.visitPermittedSubclass(permittedSubclass);
+        log();
+    }
 }