Name: asR10013 Date: 09/04/2002
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.1-b21
Testbase : RegTest-test
Platform[s] : Windows 98
Falling test[s]:
com/sun/jdi/JITDebug.sh
Regtest-test com/sun/jdi/JITDebug.sh fails on Windows 98.
The test passes on other platforms (Linux, Windows 2000, Solaris 8 (x86)).
The cause of the failure is that there are some problems with socket transport on Windows 98.
When the SystemRoot variable is defined in the -DenvVars construction, the script uses
dt_socket as a transport method and fails.
The test passes if the SystemRoot variable is removed from -DenvVars and the test
uses dt_shmem.
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/b21/regtest/win32/win98_client_linux-17/workDir/test/com/sun/jdi/JITDebug.jtr
How to reproduce:
=================
Start JT3.1 using the jtreg script.
Run the test.
Test output (part of JITDebug.sh):
===================================
----------messages:(3/116)----------
command: shell JITDebug.sh
reason: User specified action: run shell JITDebug.sh
elapsed time (seconds): 600.01
----------System.out:(23/990)*----------
JDK under test is: k:/jdk1.4.1/win32
Environment variable definitions are:
CLASSPATH=k:/jdk1.4.1/win32/lib/tools.jar;.
PATH=C:/MKSNT
SystemRoot=c:\\windows
TESTCLASSES=H:\\results_full\\hopper\\b21\\regtest\\win32\\win98_linux-17\\workDir\\test\\classes\\com\\sun\\jdi
TESTJAVA=k:/jdk1.4.1/win32
TESTJAVAHOME=k:/jdk1.4.1/win32
TESTSRC=k:\\regtest\\test\\com\\sun\\jdi
TRANSPORT_METHOD=dt_socket
_=C:/MKSNT/env.exe
windir=c:/windows
Starting test:
k:/jdk1.4.1/win32/bin/java -showversion -DTRANSPORT_METHOD="${TRANSPORT_METHOD}" -classpath "k:/jdk1.4.1/win32/lib/tools.jar;." JITDebug
Launching: [K:\\JDK1.4.1\\WIN32\\JRE\\bin\\java, -Xdebug, -Xnoagent, -Djava.compiler=NONE, -Xrunjdwp:transport=dt_socket,server=y,onuncaught=y,launch=K:\\JDK1.4.1\\WIN32\\JRE\\bin\\java
-DTRANSPORT_METHOD=dt_socket JITDebug DEBUGGER , JITDebug, TARGET]
trigger onuncaught launch
trivial debugger started
attached to: 1061
Exception: com.sun.jdi.VMDisconnectedException - hanging
----------System.err:(3/148)----------
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
result: Failed. Execution failed: Program `sh' interrupted! (timed out?)
test result: Failed. Execution failed: Program `sh' interrupted! (timed out?)
======================================================================
Name: dkR10014 Date: 12/16/2002
The following nsk test fails intermittently due to this bug
nsk/jdi/EventQueue/remove/remove003
when it is run on Windows 2000 in server -Xmixed mode.
======================================================================
- duplicates
-
JDK-4791812 JDWP: nsk/jdwp/VirtualMachine/Exit/exit001 fail on Win98
- Closed
-
JDK-4873324 Conversion of the debugger backend to JVMTI (native jdwp library)
- Closed
- relates to
-
JDK-4461673 On win32, Runtime.exec with socket trnsprt fails if env. var. SystemRoot not set
- Closed
-
JDK-4522770 Reg-test JITDebug.java Failing
- Closed