diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-16 20:10:34 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-16 20:10:34 -0700 |
commit | 79f7e05c082a1810f9315e19658e20af15b08235 (patch) | |
tree | 363ce40d0f0650be8a081ca2ac7a5eee53ac1c2c /test | |
parent | 492624d729730d594097aa618f8f1e34caa79639 (diff) | |
parent | b310d8c2e862d0a0db505eed8a29c15520fba845 (diff) | |
download | scala-79f7e05c082a1810f9315e19658e20af15b08235.tar.gz scala-79f7e05c082a1810f9315e19658e20af15b08235.tar.bz2 scala-79f7e05c082a1810f9315e19658e20af15b08235.zip |
Merge pull request #3631 from adriaanm/t4492
SI-4492 More informative error when class not found on classpath
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/t5148.check | 8 | ||||
-rw-r--r-- | test/files/run/t6440.check | 8 | ||||
-rw-r--r-- | test/files/run/t6440b.check | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/test/files/neg/t5148.check b/test/files/neg/t5148.check index f426bd2010..8a667f4b88 100644 --- a/test/files/neg/t5148.check +++ b/test/files/neg/t5148.check @@ -1,5 +1,5 @@ -error: bad symbolic reference. A signature in Imports.class refers to type Request -in class scala.tools.nsc.interpreter.IMain which is not available. -It may be completely missing from the current classpath, or the version on -the classpath might be incompatible with the version used when compiling Imports.class. +error: bad symbolic reference to scala.tools.nsc.interpreter.IMain.Request encountered in class file 'Imports.class'. +Cannot access type Request in class scala.tools.nsc.interpreter.IMain. The current classpath may be +missing a definition for scala.tools.nsc.interpreter.IMain.Request, or Imports.class may have been compiled against a version that's +incompatible with the one found on the current classpath. one error found diff --git a/test/files/run/t6440.check b/test/files/run/t6440.check index 806279fb74..27d5d1380e 100644 --- a/test/files/run/t6440.check +++ b/test/files/run/t6440.check @@ -1,4 +1,4 @@ -pos: source-newSource1.scala,line-9,offset=109 bad symbolic reference. A signature in U.class refers to term pack1 -in package <root> which is not available. -It may be completely missing from the current classpath, or the version on -the classpath might be incompatible with the version used when compiling U.class. ERROR +pos: source-newSource1.scala,line-9,offset=109 bad symbolic reference to <root>.pack1 encountered in class file 'U.class'. +Cannot access term pack1 in package <root>. The current classpath may be +missing a definition for <root>.pack1, or U.class may have been compiled against a version that's +incompatible with the one found on the current classpath. ERROR diff --git a/test/files/run/t6440b.check b/test/files/run/t6440b.check index 9771ce5efb..0b642c2c35 100644 --- a/test/files/run/t6440b.check +++ b/test/files/run/t6440b.check @@ -1,4 +1,4 @@ -pos: NoPosition bad symbolic reference. A signature in U.class refers to type T -in package pack1 which is not available. -It may be completely missing from the current classpath, or the version on -the classpath might be incompatible with the version used when compiling U.class. ERROR +pos: NoPosition bad symbolic reference to pack1.T encountered in class file 'U.class'. +Cannot access type T in package pack1. The current classpath may be +missing a definition for pack1.T, or U.class may have been compiled against a version that's +incompatible with the one found on the current classpath. ERROR |