[patch] Map.entry interface definition fix
Tom Tromey
tromey@redhat.com
Thu May 27 17:21:00 GMT 2004
>>>>> "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
More information about the Java-patches
mailing list