This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11468] Deriving from CNI class java::lang::Object does not work.
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2003 18:56:09 -0000
- Subject: [Bug c++/11468] Deriving from CNI class java::lang::Object does not work.
- References: <20030708155659.11468.shanes@gatwick.westerngeco.slb.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11468
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From tromey at gcc dot gnu dot org 2003-07-08 18:56 -------
Actually, you can't make a subclass of Object
(or any other Java class) that is entirely written
in C++. The best you can do is make a Java class,
all of whose methods are native.
This is a limitation of the current implementation,
anyway. There aren't any plans to change it at
present.
Could you suggest a change to the manual that makes
this more clear?