diff options
Diffstat (limited to 'test/files/jvm5')
-rw-r--r-- | test/files/jvm5/annotations.check | 2 | ||||
-rw-r--r-- | test/files/jvm5/annotations.scala | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/test/files/jvm5/annotations.check b/test/files/jvm5/annotations.check index efdd54a237..a4e3d7420b 100644 --- a/test/files/jvm5/annotations.check +++ b/test/files/jvm5/annotations.check @@ -1,7 +1,7 @@ class java.rmi.RemoteException class java.io.IOException @java.lang.Deprecated() -@test.SourceAnnotation(mail=scala@lists.epfl.ch, value=http://scala.epfl.ch) +@test.SourceAnnotation(mail=scala@lists.epfl.ch, value=http://scala-lang.org) @test.SourceAnnotation(mail=you@bloodsuckers.com, value=http://bloodsuckers.com) @test.SourceAnnotation(mail=bill.gates@bloodsuckers.com, value=http://bloodsuckers.com) 0 diff --git a/test/files/jvm5/annotations.scala b/test/files/jvm5/annotations.scala index e81aa863a8..a58921adef 100644 --- a/test/files/jvm5/annotations.scala +++ b/test/files/jvm5/annotations.scala @@ -1,5 +1,3 @@ -import java.lang.Deprecated - object Test1 { class Foo { @remote @@ -37,6 +35,7 @@ public class Main { } */ object Test3 { + import java.lang.Deprecated class Foo { @Deprecated def foo: Unit = () @@ -62,13 +61,13 @@ public class Main { Annotation[] annotations = clazz.getAnnotations(); for (int i = 0; i < annotations.length; i++) System.out.println(annotations[i]); - // @test.Main$Source(url=http://scala.epfl.ch, mail=scala@lists.epfl.ch) + // @test.Main$Source(url=http://scala-lang.org, mail=scala@lists.epfl.ch) } } */ object Test4 { import test.SourceAnnotation // defined in SourceAnnotation.java - @SourceAnnotation{val value = "http://scala.epfl.ch", val mail = "scala@lists.epfl.ch"} + @SourceAnnotation{val value = "http://scala-lang.org", val mail = "scala@lists.epfl.ch"} class Foo1 @SourceAnnotation("http://bloodsuckers.com") { val mail = "you@bloodsuckers.com" } class Foo2 |