-
Bug
-
Resolution: Fixed
-
P3
-
8u60
-
b83
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142072 | emb-9 | Sean Coffey | P3 | Resolved | Fixed | team |
The test com/sun/corba/cachedSocket/7056731.sh requires jdb which is not available in JRE. Therefore the test shall be excluded from execution on JRE.
Here's a snippet from the test:
(sleep 2;
echo "stop in com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.unregisterWaiter";
sleep 2;
echo "run";
sleep 2;
echo "cont";
sleep 2;
echo "cont";
sleep 2;
echo "cont";
sleep 2;
echo "suspend 1";
sleep 2;
kill -9 $SERVER_PROC;
sleep 2;
echo "cont";
sleep 2;
echo "thread 1"
sleep 2;
echo "clear com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.unregisterWaiter"
sleep 2;
echo "resume 1";
)| ${TESTJAVA}${FS}bin${FS}jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000
The command 'kill -9 $SERVER_PROC' has no chance to be called because jdb is not available. This results in jtreg's failure and a resource leak.
Here's a snippet from the test:
(sleep 2;
echo "stop in com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.unregisterWaiter";
sleep 2;
echo "run";
sleep 2;
echo "cont";
sleep 2;
echo "cont";
sleep 2;
echo "cont";
sleep 2;
echo "suspend 1";
sleep 2;
kill -9 $SERVER_PROC;
sleep 2;
echo "cont";
sleep 2;
echo "thread 1"
sleep 2;
echo "clear com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.unregisterWaiter"
sleep 2;
echo "resume 1";
)| ${TESTJAVA}${FS}bin${FS}jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000
The command 'kill -9 $SERVER_PROC' has no chance to be called because jdb is not available. This results in jtreg's failure and a resource leak.
- backported by
-
JDK-8142072 [TESTBUG] The test com/sun/corba/cachedSocket/7056731.sh should not be run on JRE
-
- Resolved
-
- relates to
-
JDK-8061624 [TESTBUG] Some tests cannot be ran under compact profiles and therefore shall be excluded
-
- Resolved
-