Erm...yes...that indeed looks like weird original code. Fix looks good to me, too...but do we perhaps need a test for this? Something like `suspendWithExtensionPresentSucceeds` and `suspendWithoutExtensionThrowsUOE`?
> jclouds-java-7-pull-requests #1350 UNSTABLE Unrelates [test failure](https://jclouds.ci.cloudbees.com/job/jclouds-java-7-pull-requests/org.apache.jclouds$jclouds-compute/1350/testReport/junit/org.jclouds.compute.callables/BlockUntilInitScriptStatusIsZeroThenReturnOutputTest/testloopUntilTrueOrThrowCancellationExceptionReturnsWhenPredicateIsTrueSecondTimeWhileNotCancelled/) here. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/403#issuecomment-45971233
