gcj/299
bryce@albatross.co.nz
bryce@albatross.co.nz
Fri Dec 15 21:40:00 GMT 2000
The following reply was made to PR gcj/299; it has been noted by GNATS.
From: bryce@albatross.co.nz
To: apbianco@cygnus.com, java-gnats@sourceware.cygnus.com, osk@hem.passagen.se
Cc:
Subject: Re: gcj/299
Date: 16 Dec 2000 05:37:49 -0000
Synopsis: wrong error message when trying to access outer field from inner static class
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Fri Dec 15 21:37:49 2000
State-Changed-Why:
Fixed in the current cvs tree:
$ gcj -c LinkedList.java
LinkedList.java: In class `LinkedList$Iter':
LinkedList.java: In method `LinkedList$Iter()':
LinkedList.java:5: Can't make a static reference to nonstatic variable `modCount' in class `LinkedList$Iter'.
int dumb = modCount;
^
1 error
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=299&database=java
More information about the Java-prs
mailing list