summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/files/jvm/annotations.check6
-rw-r--r--test/files/jvm/annotations.scala4
2 files changed, 5 insertions, 5 deletions
diff --git a/test/files/jvm/annotations.check b/test/files/jvm/annotations.check
index 0194a7f77d..128f8e8f6e 100644
--- a/test/files/jvm/annotations.check
+++ b/test/files/jvm/annotations.check
@@ -28,12 +28,12 @@ private final int Test4$Foo8.n
@test.SourceAnnotation(mails={bill.gates@bloodsuckers.com}, value=http://eppli.com)
private int Test4$Foo9.z
-@test.SourceAnnotation(mails={bill.gates@bloodsuckers.com}, value=http://apple.com)
-public int Test4$Foo9.x()
-
@test.SourceAnnotation(mails={bill.gates@bloodsuckers.com}, value=http://eppli.com)
public int Test4$Foo9.getZ()
+@test.SourceAnnotation(mails={bill.gates@bloodsuckers.com}, value=http://apple.com)
+public int Test4$Foo9.x()
+
@test.SourceAnnotation(mails={bill.gates@bloodsuckers.com}, value=http://uppla.com)
public void Test4$Foo9.setY(int)
diff --git a/test/files/jvm/annotations.scala b/test/files/jvm/annotations.scala
index 902ea87a90..227bd919c1 100644
--- a/test/files/jvm/annotations.scala
+++ b/test/files/jvm/annotations.scala
@@ -130,8 +130,8 @@ object Test4 {
classOf[Foo7].getDeclaredConstructors foreach printSourceAnnotations
classOf[Foo8].getDeclaredFields foreach printSourceAnnotations
classOf[Foo8].getDeclaredMethods foreach printSourceAnnotations
- classOf[Foo9].getDeclaredFields foreach printSourceAnnotations
- classOf[Foo9].getDeclaredMethods foreach printSourceAnnotations
+ classOf[Foo9].getDeclaredFields.sortWith((x, y) => x.toString < y.toString) foreach printSourceAnnotations
+ classOf[Foo9].getDeclaredMethods.sortWith((x, y) => x.toString < y.toString) foreach printSourceAnnotations
}
}