Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8077874

[TESTBUG] The test com/sun/corba/cachedSocket/7056731.sh should not be run on JRE

    XMLWordPrintable

Details

    • b83

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

                coffeys Sean Coffey
                dkononenko Denis Kononenko
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: