public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/2959: gcj-3.0 does not know that interface members are public by default
@ 2001-05-26 11:26 Matthias Klose
0 siblings, 0 replies; only message in thread
From: Matthias Klose @ 2001-05-26 11:26 UTC (permalink / raw)
To: gcc-gnats; +Cc: 94974-forwarded
>Number: 2959
>Category: java
>Synopsis: interface members are public by default
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 26 11:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Debian GCC maintainers
>Release: 3.0 20010526 (Debian prerelease) (Debian testing/unstable)
>Organization:
Debian
>Environment:
System: Linux smile 2.2.17 #1 Sun Oct 8 19:26:41 MEST 2000 i686 unknown
Architecture: i686
host: i386-pc-linux-gnu
build: i386-pc-linux-gnu
target: i386-pc-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-x --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
Observe:
antkaij@himalia:~/test$ cat Interface.java
package foo1;
public interface Interface {
interface Inner {
void foo();
}
}
antkaij@himalia:~/test$ cat Test.java
package foo2;
import foo1.*;
public class Test implements Interface.Inner {
public void foo() {}
}
antkaij@himalia:~/test$ gcj-3.0 -d . -C Interface.java
antkaij@himalia:~/test$ gcj-3.0 -d . -C Test.java
Test.java:4: Nested interface foo1.Interface$Inner is non-public; cannot be accessed from here.
public class Test implements Interface.Inner {
^
1 error
antkaij@himalia:~/test$
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-26 11:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-26 11:26 java/2959: gcj-3.0 does not know that interface members are public by default Matthias Klose
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).