diff options
author | Oscar Boykin <oscar@stripe.com> | 2016-07-07 10:19:55 -1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2016-07-22 10:08:23 +1000 |
commit | caeedcf7f158cb7043e988d0a0ce7a216d973237 (patch) | |
tree | 7094f1450aff3d5b3b629fa87762cde913713e2f /test/files/run/t9268.check | |
parent | 6b99dfe746cbb76828db495b58e55db2a0265ee2 (diff) | |
download | scala-caeedcf7f158cb7043e988d0a0ce7a216d973237.tar.gz scala-caeedcf7f158cb7043e988d0a0ce7a216d973237.tar.bz2 scala-caeedcf7f158cb7043e988d0a0ce7a216d973237.zip |
Disable stub warning by default.
When we create a class symbols from a classpath elements, references
to other classes that are absent from the classpath are represented
as references to "stub symbols". This is not a fatal error; for instance
if these references are from the signature of a method that isn't called
from the program being compiled, we don't need to know anything about them.
A subsequent attempt to look at the type of a stub symbols will trigger a
compile error.
Currently, the creation of a stub symbol incurs a warning. This commit
removes that warning on the basis that it isn't something users need
to worry about. javac doesn't emit a comparable warning.
The warning is still issued under any of `-verbose` / `-Xdev` / `-Ydebug`.
Diffstat (limited to 'test/files/run/t9268.check')
-rw-r--r-- | test/files/run/t9268.check | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/run/t9268.check b/test/files/run/t9268.check index 90ef940eb3..60afcbb648 100644 --- a/test/files/run/t9268.check +++ b/test/files/run/t9268.check @@ -1,5 +1,4 @@ Compiling Client1 -pos: NoPosition Class Waiter not found - continuing with a stub. WARNING + Compiling Client2 -pos: NoPosition Class Waiter not found - continuing with a stub. WARNING pos: NoPosition Unable to locate class corresponding to inner class entry for Predicate in owner Waiter ERROR |