summaryrefslogtreecommitdiff
path: root/test/files/jvm5/throws-annot.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm5/throws-annot.scala')
-rw-r--r--test/files/jvm5/throws-annot.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/jvm5/throws-annot.scala b/test/files/jvm5/throws-annot.scala
index 5f4dac07e8..90b58b9976 100644
--- a/test/files/jvm5/throws-annot.scala
+++ b/test/files/jvm5/throws-annot.scala
@@ -27,7 +27,7 @@ object TestThrows {
}
def checkMethod(cls: Class[_], name: String) {
- val method = cls.getMethod(name, Array())
+ val method = cls.getMethod(name)
println(name + " throws: " + method.getExceptionTypes.mkString("", ", ", ""))
println(name + " annotations: " + method.getDeclaredAnnotations.mkString("", ", ", ""))
}