I have verified that this bug is indeed fixed. So I suggest to sync with the kjc CVS.
Thanks, Matthias
-------- Original Message -------- Subject: Re: kjc bug Date: Fri, 30 Jan 2004 10:46:18 +0100 From: Martin Lackner <[EMAIL PROTECTED]> To: Matthias Pfisterer <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] References: <[EMAIL PROTECTED]>
Hi Matthias!
Now this bug is fixed in the current version of KJC in the CVS.
Regards, Martin
Matthias Pfisterer wrote:
> Hi,
>
> I found a bug in kjc:
> ---
> artemis:~/java/tmp>kjavac -version
> Version 2.1A released 11. February 2002
> artemis:~/java/tmp>kjavac Interface.java UsingClass.java
> UsingClass.java:1: error:Unaccessible class
> "pack/Interface/InnerInterface" can
> not be imported [JLS 7.5.1]
> ---
> I don't get an error on this with the compiler of the Sun JDK 1.4.2 and
> 1.5.0 and with jikes 1.18.
>
> Matthias
>
>
> ------------------------------------------------------------------------
>
> package pack;
>
> public interface Interface
> {
> static interface InnerInterface
> {
> }
> }
>
>
> ------------------------------------------------------------------------
>
> import pack.Interface.InnerInterface;
>
> public class UsingClass
> {
> }
-- Matthias Pfisterer Matthias [dot] Pfisterer [at] web [dot] de Reuchlinstrasse 28 phone ++49-711-62 87 12 D-70176 Stuttgart (in Deutschland 0711-62 87 12) GERMANY
Work like you don't need the money. Love like you've never been hurt. Dance like nobody is watching.
Java Sound Resources (examples, FAQ, applications): http://www.jsresources.org/
Tritonus, the open source implementation of the Java Sound API: http://www.tritonus.org/ --------------------------------------------------------------
_______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
