From 3e895978eef47edaf67b59f02d9f847c55ac26dc Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 22 Jan 2003 20:51:55 +0000 Subject: gcj.texi (Input and output files): Mention non-class entries. * gcj.texi (Input and output files): Mention non-class entries. * decl.c (java_init_decl_processing): Call init_resource_processing. * java-tree.h (compile_resource_data, write_resource_constructor, compile_resource_file, init_resource_processing): Declare. * config-lang.in (gtfiles): Added resource.c. * Make-lang.in (gt-java-resource.h): New target. (JAVA_OBJS): Added resource.o. (java/resource.o): New target. * resource.c: New file. * class.c (compile_resource_file): Moved to resource.c. (registerResource_libfunc): Likewise. (utf8_decl_list): Mark with GTY; now static. * jcf-parse.c (classify_zip_file): New function. (parse_zip_file_entries): Use it; compile .properties files. (process_zip_dir): Use classify_zip_file and compute_class_name. Don't write class name into zip directory. (java_parse_file): Call write_resource_constructor. (compute_class_name): New function. * jcf-io.c (read_zip_member): Reindented. From-SVN: r61614 --- gcc/java/gcj.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/java/gcj.texi') diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi index 8a40b77..f9518d7 100644 --- a/gcc/java/gcj.texi +++ b/gcc/java/gcj.texi @@ -182,7 +182,10 @@ Java bytecode files. @item @var{file}.zip @itemx @var{file}.jar An archive containing one or more @code{.class} files, all of -which are compiled. The archive may be compressed. +which are compiled. The archive may be compressed. Files in +an archive which don't end with @samp{.class} are treated as +resource files; they are copmiled into the resulting object file +as @samp{core:} URLs. @item @@@var{file} A file containing a whitespace-separated list of input file names. (Currently, these must all be @code{.java} source files, but that -- cgit v1.1