public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/12378] New: gcj claims concrete class to be abstract
@ 2003-09-23 16:12 brawer at dandelis dot ch
  2003-09-23 18:50 ` [Bug libgcj/12378] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: brawer at dandelis dot ch @ 2003-09-23 16:12 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=12378

           Summary: gcj claims concrete class to be abstract
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brawer at dandelis dot ch
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i386-pc-mingw32

gcj 3.4 20030902 refuses to compile the following code. Please note that it is
not a libjava problem; java.awt.font.FontRenderContext is (correctly) not abstract.

--------------- begin X.java
import java.awt.font.FontRenderContext;

public class X
{
  public void foo()
  {
    new FontRenderContext(null, true, true);
  }
}
--------------- end X.java

$ /opt/ywgcc/bin/mingw32-gcj X.java
X.java: In class `X':
X.java: In method `X.foo()':
X.java:7: error: Class `FontRenderContext' is an abstract class. It can't be
instantiated.
       new FontRenderContext(null, true, true);
           ^
1 error


$ /opt/ywgcc/bin/mingw32-gcj --v
Reading specs from /opt/ywgcc/lib/gcc/mingw32/3.4/specs
Reading specs from
/opt/ywgcc/lib/gcc/mingw32/3.4/../../../../mingw32/lib/libgcj.spec
rename spec lib to liborig
Configured with: '../gcc/configure' '--prefix=/opt/ywgcc '--target=mingw32
'--host=i686-pc-linux-gnu '--build=i686-pc-linux-gnu
'--enable-languages=c,c++,java '--disable-nls '--disable-debug
'--enable-threads=win32 '--with-gcc '--with-gnu-as '--with-gnu-ld
'--without-newlib '--disable-win32-registry '--disable-shared '--enable-libgcj
'--disable-java-awt '--without-x '--enable-java-gc=boehm '--disable-libgcj-debug
'--enable-interpreter '--enable-hash-synchronization
Thread model: win32
gcc version 3.4 20030902 (experimental)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/12378] gcj claims concrete class to be abstract
  2003-09-23 16:12 [Bug java/12378] New: gcj claims concrete class to be abstract brawer at dandelis dot ch
@ 2003-09-23 18:50 ` pinskia at gcc dot gnu dot org
  2003-09-23 22:18 ` bryce at mckinlay dot net dot nz
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-23 18:50 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=12378


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|java                        |libgcj


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-23 17:23 -------
I think this is fixed in a latter build of the mainline (20030923).
Can you try a latter snapshot?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/12378] gcj claims concrete class to be abstract
  2003-09-23 16:12 [Bug java/12378] New: gcj claims concrete class to be abstract brawer at dandelis dot ch
  2003-09-23 18:50 ` [Bug libgcj/12378] " pinskia at gcc dot gnu dot org
@ 2003-09-23 22:18 ` bryce at mckinlay dot net dot nz
  2003-09-23 22:42 ` pinskia at gcc dot gnu dot org
  2003-10-17 18:15 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bryce at mckinlay dot net dot nz @ 2003-09-23 22:18 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=12378



------- Additional Comments From bryce at mckinlay dot net dot nz  2003-09-23 21:33 -------
I could not reproduce this on linux using:

gcj (GCC) 3.4 20030916


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/12378] gcj claims concrete class to be abstract
  2003-09-23 16:12 [Bug java/12378] New: gcj claims concrete class to be abstract brawer at dandelis dot ch
  2003-09-23 18:50 ` [Bug libgcj/12378] " pinskia at gcc dot gnu dot org
  2003-09-23 22:18 ` bryce at mckinlay dot net dot nz
@ 2003-09-23 22:42 ` pinskia at gcc dot gnu dot org
  2003-10-17 18:15 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-23 22:42 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=12378


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-23 21:41 -------
Fixed already.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/12378] gcj claims concrete class to be abstract
  2003-09-23 16:12 [Bug java/12378] New: gcj claims concrete class to be abstract brawer at dandelis dot ch
                   ` (2 preceding siblings ...)
  2003-09-23 22:42 ` pinskia at gcc dot gnu dot org
@ 2003-10-17 18:15 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-17 18:15 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=12378


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-17 18:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-23 16:12 [Bug java/12378] New: gcj claims concrete class to be abstract brawer at dandelis dot ch
2003-09-23 18:50 ` [Bug libgcj/12378] " pinskia at gcc dot gnu dot org
2003-09-23 22:18 ` bryce at mckinlay dot net dot nz
2003-09-23 22:42 ` pinskia at gcc dot gnu dot org
2003-10-17 18:15 ` pinskia 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).