| [#570] | project: compiler | priority: medium | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Martin | Iulian | fixed | 2006-04-23 20:04:45.0 | |
| subject | exception handling bug | |||
| code |
object exc2 extends Application {
def foo() = {
while (true) {
try {
Console.println("foo")
} catch {
case ex: Exception =>
Console.println("bar")
}
}
}
}
|
|||
| what happened | java exc2 Exception in thread "main" java.lang.ClassFormatError: (class: exc2$, method: foo signature: ()V) Illegal except\ ion table handler at exc2.main(exc2.scala) |
|||
| what expected | Silent run. | |||
| [back to overview] | ||||
| Iulian edited on 2006-05-01 12:17:37.0 |