Closed
Description
The following code:
Storage.CopyRequest req = new Storage.CopyRequest.Builder()
.source(bucket, sourceBlobName)
.target(destinationBlob)
.sourceOptions(Storage.BlobSourceOption.generationMatch(42L))
.build();
storage.copy(req);
Is not throwing an exception if the source blob generation is not 42.