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:55:03 UTC
[groovy] 01/02: 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 GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit cf4dd0a1894f0e07ed49b8e09600e78b75bbc228
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();