[402] in java-interest
Re: Java and C++
daemon@ATHENA.MIT.EDU (Michael Lorton)
Mon Jun 19 22:18:28 1995
Date: Mon, 19 Jun 1995 18:54:30 -0700
From: Michael Lorton <mlorton@eshop.com>
To: cmcmanis@scndprsn.Eng.Sun.COM
Cc: java-interest@java.Eng.Sun.COM, weilerj@std.teradyne.com,
sandersd@std.teradyne.com, craigr@std.teradyne.com
In-Reply-To: Chuck McManis's message of Mon, 19 Jun 1995 17:10:16 -0700 <9506200010.AA18870@pepper.Eng.Sun.COM>
> There is no reason that Java native methods, written in C, couldn't call C++
> directly (as long as there is a C stub available). It should be no different
> than calling C++ from straight C.
If the C++ code uses a global object requiring a constructor, there
may be a problem, since that constructor is likely to have *not* been
called for that object in the absence of a C++ main.
M.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com