When running tools/jdb/api in Hotspot 2.0, build C with JDK1.2.2, I got a failure causes by "java.net.BindException: Cannot assign requested address"
This test was ran in CUP02, SIT lab, SUT=DELL1, WinNT
I have rerun jdb/api with Classic VM and it doesn't give this error.
Step to reproduce:
1. Install JDK1.2.2 on Pentium running WinNT
2. Install Hotspot 2.0 Server Beta, build C in JDK 1.2.2
3. Create a test directory calls jdb
4. Compile the attached DebuggerTestFramework.java
5. Compile the attached ArrayTest.java
6. Run ArrayTest
Result:
Error shows as below
Sample of error shows when ran Hotspot 2.0, Build C, WinNT:
[N:/tool_122/jdb/tests/api] RUNsuitewin
Compiling the Debugger Test Framework
Compiling ArrayTest.java...
Executing ArrayTest...
java.net.BindException: Cannot assign requested address: no further inf
Exception in thread "main" java.lang.NullPointerException
at DebugTestFramework.doStopAt(DebugTestFramework.java:102)
at DebugTestFramework.LoadStopAt(DebugTestFramework.java:164)
at ArrayTest.main(ArrayTest.java:78)
The exception occurs when the following line run:
java -classpath "d:/jdk1.2.2/lib/tools.jar;n:/tool_122/jdb/tests/supp_t
ests/classes;." -Dapplication.home=d:/jdk1.2.2/ ArrayTest