Aladdin - Scala Bugtracking
[#598] project: compiler priority: medium category: bug
submitter assigned to status date submitted
Burak Iulian fixed 2006-05-17 18:29:28.0
subject try-catch within a finally ->VerifyError
code
package bla

object Test {
  final def changePassword(): Boolean = {
    try {
    } finally {
      try{ null } catch { case _ => }
    }
    false
  }
}
what happened
[emir@lamppc31 /tmp]$ java -verify -classpath .:/home/emir/sbaz/lib/scala-library.jar bla.Test\$
Exception in thread "main" java.lang.VerifyError: (class: bla/Test$, method: changePassword signature: ()Z) Inco\
nsistent stack height 0 != 1
what expected no verify error!
[back to overview]
Changes of this bug report
Iulian  edited on  2006-05-19 16:58:43.0