This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] Map.entry interface definition fix
- From: Tom Tromey <tromey at redhat dot com>
- To: jlquinn at optonline dot net
- Cc: Michael Koch <konqueror at gmx dot de>, java-patches at gcc dot gnu dot org
- Date: 27 May 2004 08:49:31 -0600
- Subject: Re: [patch] Map.entry interface definition fix
- References: <116a9d711671d1.11671d1116a9d7@optonline.net>
- Reply-to: tromey at redhat dot com
>>>>> "Jerry" == Jerry Quinn <jlquinn@optonline.net> writes:
>> Isnt this a redundant modifier in this case as all inner
>> classes/interfaces are automatically "static" in an interface ?
Jerry> You're probably right.
Yeah, member interfaces are always static.
Jerry> I'm not a java expert. I was just going by comparison
Jerry> mismatches found under the GCJ status and comparison page.
The JAPI tool uses the class file. I think one bug is in gcj, since
it doesn't add `static' to the entry in the InnerClasses attribute:
Attribute "InnerClasses", length:10
inner: 2=java.util.Map$Entry (19="Entry"), access flags: 0x201 public interface, outer class: 18=java.util.Map
gcj has some other bugs in its treatment of InnerClasses.
Jerry> If interface and static interface on inner classes are
Jerry> equivalent, then japi-tools should get updated. I see the last
Jerry> update of the tools was a year ago. Do you know if they're
Jerry> still being maintained?
Pretty lightly.
Tom