public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/1262] Method with default access can be overridden in another package
[not found] <20001220121827.1262.bryce@mckinlay.net.nz>
@ 2003-11-03 18:02 ` aph at gcc dot gnu dot org
2004-01-07 19:53 ` pinskia at gcc dot gnu dot org
2004-04-14 19:35 ` ppohja at iki dot fi
2 siblings, 0 replies; 6+ messages in thread
From: aph at gcc dot gnu dot org @ 2003-11-03 18:02 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1262
aph at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|apbianco at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/1262] Method with default access can be overridden in another package
[not found] <20001220121827.1262.bryce@mckinlay.net.nz>
2003-11-03 18:02 ` [Bug java/1262] Method with default access can be overridden in another package aph at gcc dot gnu dot org
@ 2004-01-07 19:53 ` pinskia at gcc dot gnu dot org
2004-04-14 19:35 ` ppohja at iki dot fi
2 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-07 19:53 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |13607
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1262
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/1262] Method with default access can be overridden in another package
[not found] <20001220121827.1262.bryce@mckinlay.net.nz>
2003-11-03 18:02 ` [Bug java/1262] Method with default access can be overridden in another package aph at gcc dot gnu dot org
2004-01-07 19:53 ` pinskia at gcc dot gnu dot org
@ 2004-04-14 19:35 ` ppohja at iki dot fi
2 siblings, 0 replies; 6+ messages in thread
From: ppohja at iki dot fi @ 2004-04-14 19:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ppohja at iki dot fi 2004-04-14 19:03 -------
This bug seems to be still present in the 3.3.3:
When compiled with gcj 3.3.3, or run with gij 3.3, it
returns wrong output
--- clip ---
ppohja@noam:~/test$ gcj -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.3/specs
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.3/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,
objc,ada,treelang --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3
--enable-shared --with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.3 (Debian 20040401)
ppohja@noam:~/test$
ppohja@noam:~/test$
ppohja@noam:~/test$ ls pkg1/ pkg2/
pkg1/:
A.java
pkg2/:
B.java
ppohja@noam:~/test$
ppohja@noam:~/test$
ppohja@noam:~/test$ /usr/local/j2sdk1.4.2_02/bin/javac pkg1/A.java
ppohja@noam:~/test$ /usr/local/j2sdk1.4.2_02/bin/java pkg1.A
A.foo()
ppohja@noam:~/test$
ppohja@noam:~/test$
ppohja@noam:~/test$ gcj pkg1/A.java pkg2/B.java --main=pkg1.A -o gcj-output
ppohja@noam:~/test$ ./gcj-output
B.foo()
ppohja@noam:~/test$
ppohja@noam:~/test$ java -version
gij (GNU libgcj) version 3.3.3 (Debian 20040401)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ppohja@noam:~/test$
ppohja@noam:~/test$
ppohja@noam:~/test$ java pkg1.A
B.foo()
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1262
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20001220121827.1262.mckinlay@redhat.com>]
end of thread, other threads:[~2004-06-29 18:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20001220121827.1262.bryce@mckinlay.net.nz>
2003-11-03 18:02 ` [Bug java/1262] Method with default access can be overridden in another package aph at gcc dot gnu dot org
2004-01-07 19:53 ` pinskia at gcc dot gnu dot org
2004-04-14 19:35 ` ppohja at iki dot fi
[not found] <20001220121827.1262.mckinlay@redhat.com>
2004-06-23 10:28 ` rmathew at gcc dot gnu dot org
2004-06-29 18:00 ` mckinlay at redhat dot com
2004-06-29 18:00 ` cvs-commit 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).