diff options
author | Adriaan Moors <adriaan@lightbend.com> | 2016-07-26 11:18:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-26 11:18:59 -0700 |
commit | 2f95a247d69843547901501c5bca976d0b95ac0a (patch) | |
tree | 4b028aa9430cc66cee02d91ad2e8de7cfbbb5ccd /test | |
parent | fd36aa2a3af4e0f39557798e93c23f4ea673880d (diff) | |
parent | 4c33a55c9596eea109ac583dc6b5896fec64c0c1 (diff) | |
download | scala-2f95a247d69843547901501c5bca976d0b95ac0a.tar.gz scala-2f95a247d69843547901501c5bca976d0b95ac0a.tar.bz2 scala-2f95a247d69843547901501c5bca976d0b95ac0a.zip |
Merge pull request #5267 from lrytz/deprecateRemote
Deprecate @remote
Diffstat (limited to 'test')
-rw-r--r-- | test/files/jvm/annotations.check | 3 | ||||
-rw-r--r-- | test/files/jvm/annotations.flags | 1 |
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 |