public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/15715] New: member interfaces are always static
@ 2004-05-28 19:17 tromey at gcc dot gnu dot org
  2004-05-29  0:59 ` [Bug java/15715] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-05-28 19:17 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug java/15715] member interfaces are always static
  2004-05-28 19:17 [Bug java/15715] New: member interfaces are always static tromey at gcc dot gnu dot org
@ 2004-05-29  0:59 ` pinskia at gcc dot gnu dot org
  2004-06-27 15:30 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-29  0:59 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-28 19:18 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-28 19:18:16
               date|                            |
            Version|unknown                     |3.5.0


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug java/15715] member interfaces are always static
  2004-05-28 19:17 [Bug java/15715] New: member interfaces are always static tromey at gcc dot gnu dot org
  2004-05-29  0:59 ` [Bug java/15715] " pinskia at gcc dot gnu dot org
@ 2004-06-27 15:30 ` pinskia at gcc dot gnu dot org
  2004-06-27 15:34 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-27 15:30 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-27 08:39 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-06/msg02226.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug java/15715] member interfaces are always static
  2004-05-28 19:17 [Bug java/15715] New: member interfaces are always static tromey at gcc dot gnu dot org
  2004-05-29  0:59 ` [Bug java/15715] " pinskia at gcc dot gnu dot org
  2004-06-27 15:30 ` pinskia at gcc dot gnu dot org
@ 2004-06-27 15:34 ` cvs-commit at gcc dot gnu dot org
  2004-06-27 16:19 ` mckinlay at redhat dot com
  2004-07-10  0:35 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-27 15:34 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-06-27 15:30 -------
Subject: Bug 15715

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bryce@gcc.gnu.org	2004-06-27 15:30:06

Modified files:
	gcc/java       : ChangeLog parse.y jcf-write.c 

Log message:
	2004-06-26  Bryce McKinlay  <mckinlay@redhat.com>
	
	PR java/15715.
	* parse.y (create_interface): Set correct access modifiers for
	interfaces.
	* jcf-write.c (get_classfile_modifiers): New function.
	(generate_classfile): Use get_classfile_modifiers, not
	get_access_flags.
	
	2004-06-26  Bryce McKinlay  <mckinlay@redhat.com>
	
	* parse.y (register_incomplete_type): Set JDEP_ENCLOSING for "super"
	dependency to current parser context, not NULL_TREE, for top-level
	classes.
	(jdep_resolve_class): Enable member access check for all inner
	class dependencies.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1390&r2=1.1391
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&r1=1.486&r2=1.487
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/jcf-write.c.diff?cvsroot=gcc&r1=1.146&r2=1.147



-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug java/15715] member interfaces are always static
  2004-05-28 19:17 [Bug java/15715] New: member interfaces are always static tromey at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-06-27 15:34 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-27 16:19 ` mckinlay at redhat dot com
  2004-07-10  0:35 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mckinlay at redhat dot com @ 2004-06-27 16:19 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mckinlay at redhat dot com  2004-06-27 15:34 -------
Fix checked in.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug java/15715] member interfaces are always static
  2004-05-28 19:17 [Bug java/15715] New: member interfaces are always static tromey at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-06-27 16:19 ` mckinlay at redhat dot com
@ 2004-07-10  0:35 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-10  0:35 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.5.0


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-07-10  0:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-28 19:17 [Bug java/15715] New: member interfaces are always static tromey at gcc dot gnu dot org
2004-05-29  0:59 ` [Bug java/15715] " pinskia at gcc dot gnu dot org
2004-06-27 15:30 ` pinskia at gcc dot gnu dot org
2004-06-27 15:34 ` cvs-commit at gcc dot gnu dot org
2004-06-27 16:19 ` mckinlay at redhat dot com
2004-07-10  0:35 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).