You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by em...@apache.org on 2022/12/26 16:25:37 UTC

[groovy] branch master updated: GROOVY-10882: remove dead code from `assert`

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 381610a5e1 GROOVY-10882: remove dead code from `assert`
381610a5e1 is described below

commit 381610a5e1fc91cb617dcab2071c5499af34b631
Author: Eric Milles <er...@thomsonreuters.com>
AuthorDate: Mon Dec 26 10:17:36 2022 -0600

    GROOVY-10882: remove dead code from `assert`
---
 src/main/java/org/codehaus/groovy/classgen/asm/AssertionWriter.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/codehaus/groovy/classgen/asm/AssertionWriter.java b/src/main/java/org/codehaus/groovy/classgen/asm/AssertionWriter.java
index c5cb1b71b1..c0d8ec420b 100644
--- a/src/main/java/org/codehaus/groovy/classgen/asm/AssertionWriter.java
+++ b/src/main/java/org/codehaus/groovy/classgen/asm/AssertionWriter.java
@@ -127,7 +127,6 @@ public class AssertionWriter {
             throwAssertError();
 
             mv.visitLabel(tryEnd);
-            mv.visitJumpInsn(GOTO, afterAssert);
 
             // catch-all block to clear value recorder
             Label catchAll = new Label();