From c4360481251fdec0599598c24da400a8bace3247 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Tue, 22 Jul 2014 14:45:12 +0200 Subject: Better error message than 'bad symbolic reference'. Let's not scare people, and try to give them some advice. PS: we should really come up with a better mechanism for testing errors/warnings --- test/files/run/t6440b.check | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test/files/run/t6440b.check') diff --git a/test/files/run/t6440b.check b/test/files/run/t6440b.check index 0b642c2c35..a6100d6d1e 100644 --- a/test/files/run/t6440b.check +++ b/test/files/run/t6440b.check @@ -1,4 +1,5 @@ -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 +pos: NoPosition missing or invalid dependency detected while loading class file 'U.class'. +Could not access type T in package pack1, +because it (or its dependencies) are missing. Check your build definition for +missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.) +A full rebuild may help if 'U.class' was compiled against an incompatible version of pack1. ERROR -- cgit v1.2.3