--- Comment #9 from tromey at gcc dot gnu dot org 2007-11-02 16:11 ---
Testing my patch.
--
tromey at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #8 from aph at gcc dot gnu dot org 2007-11-02 10:06 ---
I think it's brilliant! I never expected such an elegant solution.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33765
--- Comment #7 from jakub at gcc dot gnu dot org 2007-11-02 08:02 ---
Looks good to me. Andrew?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33765
--- Comment #11 from jakub at gcc dot gnu dot org 2007-11-02 20:08 ---
Fixed, thanks.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #10 from tromey at gcc dot gnu dot org 2007-11-02 20:02 ---
Subject: Bug 33765
Author: tromey
Date: Fri Nov 2 20:02:35 2007
New Revision: 129860
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129860
Log:
PR java/33765:
* jcf-parse.c (java_parse_file):
--- Comment #6 from tromey at gcc dot gnu dot org 2007-11-01 19:24 ---
Created an attachment (id=14456)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14456action=view)
patch to make it do nothing
This patch changes gcj to do nothing in this case.
It works fine on the test case.
--- Comment #4 from bero at arklinux dot org 2007-10-31 18:36 ---
Unfortunately I don't remember what I was trying to compile, but I was trying
to compile some open source code I had downloaded. It was running javac on a
huge list of files, one of which was empty (probably to be
--- Comment #3 from tromey at gcc dot gnu dot org 2007-10-31 18:26 ---
Confirmed.
I would not mind giving an error for this. We don't necessarily have
to be compatible with javac here.
I wonder, though, whether this is used in a configure script or something
like this. How did the
--- Comment #5 from jakub at gcc dot gnu dot org 2007-10-31 23:42 ---
Well, package-info.java files containing just package something; line
and comments are quite common, and for them ecj1 creates an empty jar file.
If the whole package is compiled at once, then there will be a bigger
--- Comment #2 from jakub at gcc dot gnu dot org 2007-10-30 14:28 ---
I have tried what icedtea javac does on such *.java files and it apparently
exits with 0 exit status, but doesn't create any *.class file. So I guess
silently creating empty *.s (i.e. just ignore not being able to
--- Comment #1 from jakub at gcc dot gnu dot org 2007-10-28 15:47 ---
Created an attachment (id=14427)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14427action=view)
gcc43-pr33765.patch
In this case (and e.g. also in case where you gcj -c package-info.java
from #297961) ecj1
11 matches
Mail list logo