David Holmes wrote:
I found a minor bug in java.util.Map: the inner class Entry
has to be public. Diff is attached.
All interface members are implicitly public. The preferred style is to
not explicitly define them as public.
Well, I prefer to be explicit. But this goes beyond a matter of taste
Matthias == Matthias Pfisterer [EMAIL PROTECTED] writes:
Matthias Building with kjc, I get the following errors:
Matthias ../java/beans/PropertyChangeSupport.java:1: 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
Dalibor Topic wrote:
Tom Tromey wrote:
Matthias == Matthias Pfisterer [EMAIL PROTECTED] writes:
Matthias Building with kjc, I get the following errors:
Matthias ../java/beans/PropertyChangeSupport.java:1:
error:Unaccessible class
Matthias java/util/Map/Entry can not be imported [JLS 7.5.1]
Hi,
I found a minor bug in java.util.Map: the inner class Entry has to be
public. Diff is attached.
Matthias
--
Matthias Pfisterer mailto:[EMAIL PROTECTED]
Reuchlinstrasse 28 phone ++49-711-62 87 12
D-70176 Stuttgart (in Deutschland 0711-62 87 12)
GERMANY
Work like you don't
I found a minor bug in java.util.Map: the inner class Entry
has to be public. Diff is attached.
All interface members are implicitly public. The preferred style is to
not explicitly define them as public.
David Holmes
___
Classpath mailing list
[Shoot, I hit send too early.]
For that matter, you should delete the static modifier. Inner classes
declared in an interface are implicitly 'public static'.
Matthias Pfisterer wrote:
Hi,
I found a minor bug in java.util.Map: the inner class Entry has to be
public. Diff is attached
6 matches
Mail list logo