public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/19870] New: gcj -C compiled code accessing private fields of inner classes from outer class give IllegalAccessError
@ 2005-02-10  0:26 mark at gcc dot gnu dot org
  2005-02-10  0:27 ` [Bug java/19870] " pinskia at gcc dot gnu dot org
                   ` (16 more replies)
  0 siblings, 17 replies; 25+ messages in thread
From: mark at gcc dot gnu dot org @ 2005-02-10  0:26 UTC (permalink / raw)
  To: java-prs

The following compiled with jikes outputs 42.
Compiled with gcj -C and ran with gij gives a java.lang.IllegalAccessError

public class A
{
  public static class B
  {
    private static int i = 42;
  }

  public static void main(String[] args)
  {
    System.out.println(B.i);
  }
}

-- 
           Summary: gcj -C compiled code accessing private fields of inner
                    classes from outer class give IllegalAccessError
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mark at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
OtherBugsDependingO 18131
             nThis:


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


^ permalink raw reply	[flat|nested] 25+ messages in thread
[parent not found: <bug-19870-3639@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2007-01-09 20:50 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-10  0:26 [Bug java/19870] New: gcj -C compiled code accessing private fields of inner classes from outer class give IllegalAccessError mark at gcc dot gnu dot org
2005-02-10  0:27 ` [Bug java/19870] " pinskia at gcc dot gnu dot org
2005-02-10  0:29 ` pinskia at gcc dot gnu dot org
2005-02-10  0:33 ` pinskia at gcc dot gnu dot org
2005-02-10  9:23 ` pinskia at gcc dot gnu dot org
2005-03-09 18:57 ` [Bug java/19870] gcj -C doesn't generate accessors for private members in inner class mckinlay at redhat dot com
2005-05-19 22:57 ` rmathew at gcc dot gnu dot org
2005-05-23  7:45 ` [Bug java/19870] gcj -C doesn't generate accessors for private members across nested class boundaries rmathew at gcc dot gnu dot org
2005-05-25  6:20 ` rmathew at gcc dot gnu dot org
2005-05-26  7:32 ` rmathew at gcc dot gnu dot org
2005-05-27  5:11 ` cvs-commit at gcc dot gnu dot org
2005-05-27  5:15 ` cvs-commit at gcc dot gnu dot org
2005-05-27  5:39 ` rmathew at gcc dot gnu dot org
2005-06-19  3:23 ` rmathew at gcc dot gnu dot org
2005-08-14 15:50 ` rmathew at gcc dot gnu dot org
2005-08-16 18:23 ` cvs-commit at gcc dot gnu dot org
2005-08-16 18:32 ` cvs-commit at gcc dot gnu dot org
2005-08-16 18:39 ` rmathew at gcc dot gnu dot org
     [not found] <bug-19870-3639@http.gcc.gnu.org/bugzilla/>
2005-10-05 19:35 ` cvs-commit at gcc dot gnu dot org
2005-10-05 19:40 ` pinskia at gcc dot gnu dot org
2005-12-22 16:45 ` mark at gcc dot gnu dot org
2005-12-23  5:29 ` rmathew at gcc dot gnu dot org
2006-03-11  3:17 ` mmitchel at gcc dot gnu dot org
2006-06-07 18:06 ` mckinlay at redhat dot com
2007-01-09 20:51 ` tromey 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).