This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: make gcj compile all files in .jar


Tom Tromey writes:
 > 
 > Index: ChangeLog
 > from  Tom Tromey  <tromey@redhat.com>
 > 	* 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.

OK for trunk.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]