aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-parse.c
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@cygnus.com>2000-02-21 23:53:36 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2000-02-21 15:53:36 -0800
commit2a1ed9c1118c22234087b5044d794cf526eccdc7 (patch)
tree424b297b151611bab940b1e6ad26e5096b801614 /gcc/java/jcf-parse.c
parent47ee9bcb614d58ea60d228bb11563d7df4d279ec (diff)
downloadgcc-2a1ed9c1118c22234087b5044d794cf526eccdc7.zip
gcc-2a1ed9c1118c22234087b5044d794cf526eccdc7.tar.gz
gcc-2a1ed9c1118c22234087b5044d794cf526eccdc7.tar.bz2
[multiple changes]
Thu Feb 17 14:30:37 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-write.c (generate_bytecode_insns): Don't generate empty `finally' clauses. Thu Feb 17 13:20:58 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-parse.c (load_class): Call `fatal' if no file containing the target class are found. From-SVN: r32095
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r--gcc/java/jcf-parse.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 5c965da..a10f605 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -526,18 +526,7 @@ load_class (class_or_name, verbose)
name = DECL_NAME (TYPE_NAME (class_or_name));
if (read_class (name) == 0 && verbose)
- {
- error ("Cannot find file for class %s.",
- IDENTIFIER_POINTER (name));
- if (TREE_CODE (class_or_name) == RECORD_TYPE)
- TYPE_SIZE (class_or_name) = error_mark_node;
-#if 0
- /* FIXME: what to do here? */
- if (!strcmp (classpath, DEFAULT_CLASS_PATH))
- fatal ("giving up");
-#endif
- return;
- }
+ fatal ("Cannot find file for class %s.", IDENTIFIER_POINTER (name));
}
/* Parse a source file when JCF refers to a source file. */