[Bug c++/11468] Deriving from CNI class java::lang::Object does not work.

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 8 18:56:00 GMT 2003


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?



More information about the Gcc-bugs mailing list