This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/17747] bogus duplicate class errors
- From: "ruben at ugr dot es" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2004 11:58:33 -0000
- Subject: [Bug java/17747] bogus duplicate class errors
- References: <20040930102615.17747.ruben@ugr.es>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ruben at ugr dot es 2004-11-04 11:58 -------
(In reply to comment #0)
> There seem to be some problems with inner classes.
>
> This is from the freenet project
> http://freenetproject.org/snapshots/freenet-stable-latest.src.tar.bz2
> untar;
> cd source/src/
> gcj freenet/diagnostics/CountingProcess.java
> javac freenet/diagnostics/CountingProcess.java
>
> Sorry, no small testcase yet.
>
> gcj freenet/diagnostics/CountingProcess.java
> ./freenet/diagnostics/Continuous.java:29: error: Class
> `freenet.diagnostics.Continuous$ContinuousEventCallback' already defined in
> freenet/diagnostics/Continuous$ContinuousEventCallback.java:0.
> public static abstract class ContinuousEventCallback implements
> RandomVar.EventCallback {
> ^
> 1 error
>
> javac freenet/diagnostics/CountingProcess.java
> #no error
Works as of gcc 3.4.2 and freenet-stable-latest.src.25.Oct.2004.tar.bz2
Please close
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17747