I recently tried to create a C app that created a JVM, started a simple
Java class, and passed messages from C (or C++) to Java.  After running
successfully on NT, I noticed that it core dumped when it was created from
within another C executable on Solaris.  When I used Purify on it, EVERY call
to the JNI API was flagged with problems, and the core dump was happening
from a JNI call (unfortunately, I can't remember exactly which one...).

More than likely, the Linux JNI will suffer the same fate as the Solaris
JNI.  Pity.

kirk

Moses DeJong wrote:
> 
> Is there any way we can send you some code so that you can test it out
> in the 1.2 release? I have some native threads + JNI code that works under
> Solaris and Windows JDK but breaks with the 1.1.7 Native threads release.
> I know for a fact that the code is correct but there is some kind of
> problem with the 1.1.7 version of the JNI_CreateJavaVM function. I know
> you guys do not want to get into a situation where you are testing a lot
> of code, but could you consider it for code that is know to not work in
> the 1.1.7 release? I really have no way to debug the JNI_CreateJavaVM
> function without the source code.
> 
> thanks
> mo dejong
> dejong at cs.umn.edu
> 
> On Fri, 8 Jan 1999, Steve Byrne wrote:
> 
> > Trevor Harmon writes:
> >  > Gabe Hamilton wrote:
> >  >
> >  > > If you need people to test jdk 1.2, I would be happy to help out.
> >  >
> >  > Me too... It would be great if the Blackdown team could put out a
> >  > pre-release of 1.2, since their web page claims that the port is at
> >  > least "running". Anyone know if this is a possibility?
> >
> > We're not legally allowed to put out pre-release versions if they haven't
> > passed through JCK.  We're in the process of trying to chase down some issues
> > with running the JCK.
> >
> >  > The page also says, "Before we can release, we have to make sure that it
> >  > passes the tests in the Java Compatibility Kit." Is this a requirement
> >  > of Sun's source code licensing, or is it just something that was decided
> >  > on by the Blackdown team?
> >
> > It's the dreaded sections 2.4 and 2.5 as amending 2.3 of our license that say
> > we HAVE to pass JCK before we can release or even pre-release.
> >
> > Steve
> >

-- 
Kirk Hutchinson, [EMAIL PROTECTED]
Electrical & Software Engineer, Cabletron Systems
What good is unused science?

Reply via email to