This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug java/15715] New: member interfaces are always static


A member interface is always implicitly `static'.
gcj generates .class files that don't understand this.
>From the output of "jcf-dump java.util.Map":

Attribute "InnerClasses", length:10
  inner: 2=java.util.Map$Entry (19="Entry"), access flags: 0x201 public
interface, outer class: 18=java.util.Map

Note that `static' is not mentioned.
Perhaps it should also be `abstract'; jikes does this.

-- 
           Summary: member interfaces are always static
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15715


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