[Bug java/17747] bogus duplicate class errors

ruben at ugr dot es gcc-bugzilla@gcc.gnu.org
Thu Nov 4 11:58:00 GMT 2004


------- 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



More information about the Java-prs mailing list