public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "licheng.1212 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/20215] gcj does not accept classes with same name fields
Date: Thu, 26 May 2011 15:07:00 -0000	[thread overview]
Message-ID: <bug-20215-8172-AiiBw5nqU6@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-20215-8172@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from licheng.1212 at gmail dot com <licheng.1212 at gmail dot com> 2011-05-26 15:06:37 UTC ---
(In reply to comment #6)
> the Testcase attachments can't donwload

I have got the Testcase,but it still hava problem

[lee@localhost Downloads]$ gcj -v DuplicateField.class 
Using built-in specs.
Reading specs from /usr/lib/gcc/i686-redhat-linux/4.5.1/libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
COLLECT_GCC=gcj
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/4.5.1/lto-wrapper
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,lto --enable-plugin
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch=i686
--build=i686-redhat-linux
Thread model: posix
gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-fbootclasspath=./:/usr/share/java/libgcj-4.5.1.jar'
'-g1' '-shared-libgcc' '-mtune=generic' '-march=i686'
COLLECT_GCC_OPTIONS='-v' '-fbootclasspath=./:/usr/share/java/libgcj-4.5.1.jar'
'-g1' '-shared-libgcc' '-mtune=generic' '-march=i686'
 /usr/libexec/gcc/i686-redhat-linux/4.5.1/jc1 DuplicateField.class
-fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc
-fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase
DuplicateField.class -mtune=generic -march=i686 -auxbase DuplicateField -g1
-version -fbootclasspath=./:/usr/share/java/libgcj-4.5.1.jar -faux-classpath
/tmp/ccUMiMyu.zip -o /tmp/ccGWZOga.s
GNU Java (GCC) version 4.5.1 20100924 (Red Hat 4.5.1-4) (i686-redhat-linux)
    compiled by GNU C version 4.5.1 20100924 (Red Hat 4.5.1-4), GMP version
4.3.1, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Java (GCC) version 4.5.1 20100924 (Red Hat 4.5.1-4) (i686-redhat-linux)
    compiled by GNU C version 4.5.1 20100924 (Red Hat 4.5.1-4), GMP version
4.3.1, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Class path starts here:
    /tmp/ccUMiMyu.zip/ (zip)
    ./ (system)
    /usr/share/java/libgcj-4.5.1.jar/ (system) (zip)
DuplicateField.java: In class 'DuplicateField':
DuplicateField.java: In method 'DuplicateField.main(java.lang.String[])':
In file included from <built-in>:0:0:
DuplicateField.java:0:0: error: mismatching signature for field 'foo' in
'DuplicateField'
DuplicateField.java: In method 'DuplicateField.<clinit>()':
DuplicateField.java:0:0: error: mismatching signature for field 'foo' in
'DuplicateField'


  parent reply	other threads:[~2011-05-26 15:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-20215-8172@http.gcc.gnu.org/bugzilla/>
2011-05-26 12:10 ` licheng.1212 at gmail dot com
2011-05-26 12:46 ` licheng.1212 at gmail dot com
2011-05-26 15:07 ` licheng.1212 at gmail dot com [this message]
2011-05-27  4:38 ` licheng.1212 at gmail dot com
2011-05-27  5:11 ` pinskia at gcc dot gnu.org
2011-05-28  7:46 ` licheng.1212 at gmail dot com
2011-06-01 16:12 ` licheng.1212 at gmail dot com
2005-02-26 16:13 [Bug java/20215] New: " bonniot at users dot sf dot net
2005-02-26 16:34 ` [Bug java/20215] " bonniot at users dot sf dot net
2005-03-07 17:18 ` cvs-commit at gcc dot gnu dot org
2005-03-08 10:05 ` cvs-commit at gcc dot gnu dot org
2005-05-27  0:17 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-20215-8172-AiiBw5nqU6@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).