[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in java.util.Map

From: Matthias Pfisterer
Subject: Re: bug in java.util.Map
Date: Wed, 21 Jan 2004 20:09:53 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1

Dalibor Topic wrote:
Tom Tromey wrote:

"Matthias" == Matthias Pfisterer <address@hidden> writes:

Matthias> Building with kjc, I get the following errors:
Matthias> ../java/beans/ error:Unaccessible class
Matthias> "java/util/Map/Entry" can not be imported [JLS 7.5.1]

If it isn't fixable in the compiler we can add a workaround.  We
already work around some gcj bugs.  Workarounds need a comment
explaining what compiler and version they are for, though.  And of
course we'd prefer a compiler fix...

The weird thing is that I use the unmodified source from GNU Classpath in kaffe's CVS and it builds without a hitch there. So I'd be against adding a 'public' to it. And our java/beans/ is the same as in classpath, as well. Weird.

I can only guess that the set of files being built together in classpath's build process is somewhat different from the set of files being build together in kaffe's build process, and that somehow triggers the problem.

I've localized the problem and filed a bug against kjc (on the kopi developers m-l). The error only occurs if the not-explicit-public-inner-interface is compiled together with a file importing it in one step.


Matthias Pfisterer      <mailto:address@hidden>
Reuchlinstrasse 28      phone ++49-711-62 87 12
D-70176 Stuttgart       (in Deutschland 0711-62 87 12)

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

Tritonus, the open source implementation of the Java Sound API:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]