Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/classes/sun/rmi/transport/StreamRemoteCall.java
          +++ new/src/share/classes/sun/rmi/transport/StreamRemoteCall.java
↓ open down ↓ 190 lines elided ↑ open up ↑
 191  191          if (success)            //
 192  192              out.writeByte(TransportConstants.NormalReturn);
 193  193          else
 194  194              out.writeByte(TransportConstants.ExceptionalReturn);
 195  195          out.writeID();          // write id for gcAck
 196  196          return out;
 197  197      }
 198  198  
 199  199      /**
 200  200       * Do whatever it takes to execute the call.
      201 +     * (Exception thrown before fallthrough can occur)
 201  202       */
      203 +    @SuppressWarnings("fallthrough")
 202  204      public void executeCall() throws Exception {
 203  205          byte returnType;
 204  206  
 205  207          // read result header
 206  208          DGCAckHandler ackHandler = null;
 207  209          try {
 208  210              if (out != null) {
 209  211                  ackHandler = out.getDGCAckHandler();
 210  212              }
 211  213              releaseOutputStream();
↓ open down ↓ 101 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX