This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug java/17747] bogus duplicate class errors


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


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