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

failed test case is not checked in java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java

XMLWordPrintable

    • b149

        failed test case is not checked in java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java

        suggested fix is as below:
        diff -r 10b191e1793b test/java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java
        --- a/test/java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java Tue Dec 06 17:53:22 2016 -0800
        +++ b/test/java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java Tue Dec 06 22:29:47 2016 -0800
        @@ -140,7 +140,7 @@
                     System.err.println("invoking method on activatable object...");
                     try {
                         obj1.ping();
        -
        + throw new RuntimeException("ActivateFailedException is expected");
                     } catch (ActivateFailedException e) {

              mli Hamlin Li
              mli Hamlin Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: