Date: 03/09/01
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8935 Updated: A reference to 'this' can not be used in the constructor method for a class."
- Previous message: alt <email protected>: "[PHP-DEV] PHP 4.0 Bug #9658 Updated: saps Servlet reproducible crash."
- Next in thread: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9659 Updated: sapi servlet crashes when exceptions thrown in java code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 9659
User Update by: alt <email protected>
Status: Bogus
Bug Type: Unknown/Other Function
Description: sapi servlet crashes when exceptions thrown in java code
Please note that 9658 and 9659 are not related. They resulted from two different areas of tests being performed on the servlet sapi.
Previous Comments:
---------------------------------------------------------------------------
[2001-03-09 13:34:33] sniper <email protected>
This info moved to #9658
---------------------------------------------------------------------------
[2001-03-09 12:34:25] alt <email protected>
./configure --with-java --with-servlet
Sun JVM (also happens with IBM JVM).
Java version "1.3.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)
sapi_servlet_ub_write() and other native methods should
check for java exceptions when calling java methods.
The call to
(*jenv)->CallVoidMethod(jenv, servlet, write, arg);
should really be followed by :-
{
jthrowable exc;
exc = (*jenv)->ExceptionOccurred(jenv);
if (exc) {
(*jenv)->ExceptionClear(jenv);
}
}
or similar with reporting capabilities.
(When I applied this patch it seemed to fix the exception problem).
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9659
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8935 Updated: A reference to 'this' can not be used in the constructor method for a class."
- Previous message: alt <email protected>: "[PHP-DEV] PHP 4.0 Bug #9658 Updated: saps Servlet reproducible crash."
- Next in thread: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9659 Updated: sapi servlet crashes when exceptions thrown in java code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

