summaryrefslogtreecommitdiff
path: root/test/files/run/t6223.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6223.scala')
-rw-r--r--test/files/run/t6223.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t6223.scala b/test/files/run/t6223.scala
index 4ab7c832e6..fb176e32e6 100644
--- a/test/files/run/t6223.scala
+++ b/test/files/run/t6223.scala
@@ -5,7 +5,7 @@ class Foo[@specialized(Int) A](a:A) {
object Test {
def main(args:Array[String]) {
val f = new Foo(333)
- val ms = f.getClass().getDeclaredMethods()
+ val ms = f.getClass().getDeclaredMethods().sortBy(_.getName)
ms.foreach(m => println(m.getName))
}
}