Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2037733 | 1.4.0 | J. Duke | P1 | Closed | Fixed | beta |
Method exitValue returns value different from one which returned if the class has been executed from bash(sh, csh) prompt.
bash$ /net/jdk/export/disk6/promoted/jdk/1.3.1/latest/binaries/linux-i386/bin/java -verify -classpath . stack007
Max. depth: 25500
An irrecoverable stack overflow has occurred.
# # An unexpected exception has been detected in native code outside the VM.# Program counter=0x40440929
#
# Problematic Thread: prio=1 tid=0x804e9f8 nid=0x2cb4 runnable
#
Aborted
bash$ echo $?
134
bash$ java -classpath . Test /net/jdk/export/disk6/promoted/jdk/1.3.1/latest/binaries/linux-i386 .
Starting: /net/jdk/export/disk6/promoted/jdk/1.3.1/latest/binaries/linux-i386/bin/java -verify -classpath . stack007 2>&1
================ Output: ================
Max. depth: 25500
An irrecoverable stack overflow has occurred.
# # An unexpected exception has been detected in native code outside the VM.
# Program counter=0x40440929
#
# Problematic Thread:
prio=1 tid=0x804eb08
nid=0x2c7d
runnable
#
================ ======= ================
Exit status: 0
See attchments
bash$ /net/jdk/export/disk6/promoted/jdk/1.3.1/latest/binaries/linux-i386/bin/java -verify -classpath . stack007
Max. depth: 25500
An irrecoverable stack overflow has occurred.
# # An unexpected exception has been detected in native code outside the VM.# Program counter=0x40440929
#
# Problematic Thread: prio=1 tid=0x804e9f8 nid=0x2cb4 runnable
#
Aborted
bash$ echo $?
134
bash$ java -classpath . Test /net/jdk/export/disk6/promoted/jdk/1.3.1/latest/binaries/linux-i386 .
Starting: /net/jdk/export/disk6/promoted/jdk/1.3.1/latest/binaries/linux-i386/bin/java -verify -classpath . stack007 2>&1
================ Output: ================
Max. depth: 25500
An irrecoverable stack overflow has occurred.
# # An unexpected exception has been detected in native code outside the VM.
# Program counter=0x40440929
#
# Problematic Thread:
prio=1 tid=0x804eb08
nid=0x2c7d
runnable
#
================ ======= ================
Exit status: 0
See attchments
- backported by
-
JDK-2037733 Linux: Process.exitValue() returns different value
-
- Closed
-
- relates to
-
JDK-4397968 Process.waitFor returns incorrect exit status code on linux
-
- Closed
-