diff options
-rw-r--r-- | sources/scalac/backend/jvm/GenJVM.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/scalac/backend/jvm/GenJVM.java b/sources/scalac/backend/jvm/GenJVM.java index 2ba2fb1a6b..3ea0cded19 100644 --- a/sources/scalac/backend/jvm/GenJVM.java +++ b/sources/scalac/backend/jvm/GenJVM.java @@ -222,7 +222,8 @@ public class GenJVM { break; } catch (JCode.OffsetTooBigException e) { ctx1.clazz.removeMethod(ctx1.method); - assert !retry; + if (retry) + throw Debug.abort("method too big", sym, e); retry = true; } } while (retry); |