summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2016-07-06 21:00:43 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2016-07-20 11:05:43 +0200
commitf510aa55cfd537788720f9bb89409f0373d8c471 (patch)
treee1a684ae52f4227e442a9329a24572401f2f7c24 /test/files/jvm
parent6612ba010b0e70c53550d1e47141c8dc89a55f23 (diff)
downloadscala-f510aa55cfd537788720f9bb89409f0373d8c471.tar.gz
scala-f510aa55cfd537788720f9bb89409f0373d8c471.tar.bz2
scala-f510aa55cfd537788720f9bb89409f0373d8c471.zip
Deprecate scala.remote
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/annotations.check3
-rw-r--r--test/files/jvm/annotations.flags1
2 files changed, 4 insertions, 0 deletions
diff --git a/test/files/jvm/annotations.check b/test/files/jvm/annotations.check
index a8dc5ecdd1..43f85ca199 100644
--- a/test/files/jvm/annotations.check
+++ b/test/files/jvm/annotations.check
@@ -1,3 +1,6 @@
+annotations.scala:7: warning: class remote in package scala is deprecated (since 2.12.0): extend java.rmi.Remote instead and add @throws[java.rmi.RemoteException] to public methods
+ def foo: Unit = ()
+ ^
class java.rmi.RemoteException
class java.io.IOException
@java.lang.Deprecated()
diff --git a/test/files/jvm/annotations.flags b/test/files/jvm/annotations.flags
new file mode 100644
index 0000000000..c36e713ab8
--- /dev/null
+++ b/test/files/jvm/annotations.flags
@@ -0,0 +1 @@
+-deprecation \ No newline at end of file