This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Std out problems with cygwin1.dll v 1.1.6 and JDK1.3 JNI


I am the inheritor of a cygwin DLL that works with Java/JNI compiled under
JDK1.2.2 and cygwin B20.1.  It is being used in a project that is being
developed under JDK 1.3.

If the DLL is not recompiled, and the java code is recompiled with the
JDK1.3 compiler, the following error results, and is reported in the command
window:

# An EXCEPTION_STACK_OVERFLOW exception has been detected in native code
outside the VM.

If the DLL is recompiled with the current net release of cygwin, with
cygwin1.dll v.1.1.6, the error does not occur, but no output is produced by
System.out.println().

On Jan 12, 2000, Mumit Khan wrote, in this list:
> This is a "tty" issue as far as I can tell. 
> There may be two ways to solve or work around it: 
>   - set CYGWIN=notty before starting the shell where you start Java from. 
>   - start it from a windows command shell Does that make the stdout/err
show up?
> Note that if you write to stdout or stderr from the JNI itself, it should
show up fine (as well be able to read from it starting from either the
snapshot you have or the one just after that).

I have tried this solution, and it does not seem to work.  Does anyone have
any suggestions?

Richard Dunn-Roberts

 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]