This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Map.entry interface definition fix


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]