The change to mapped location support broke debuginfo in Java.
The fix is pretty trivial, and I'm putting it into the 4.3 branch.
I suppose I need a test case to make sure this doesn't happen again.
I'm not sure exactly how to write one, though.
2008-03-06 Andrew Haley <aph@xxxxxxxxxxxxxxxxxxx>
* jcf-parse.c (give_name_to_class): Call find_sourcefile fo find full
pathname of source file.
--- jcf-parse.c (revision 131324)
+++ jcf-parse.c (working copy)
@@ -1208,7 +1208,7 @@
tree source_name = identifier_subst (class_name, "", '.', '/', ".java");
- const char *sfname = IDENTIFIER_POINTER (source_name);
+ const char *sfname = find_sourcefile (IDENTIFIER_POINTER (source_name));
linemap_add (line_table, LC_ENTER, false, sfname, 0);
input_location = linemap_line_start (line_table, 0, 1);
file_start_location = input_location;