Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BundleComponent.isValidBundle() should no throw if reading manifest fail
Currently BundleComponent.isValidBundle() is used to check if a bundle is valid and should be considered for the baseline. If the location points to something that chase no manifest at all (or an invalid manifest) this currently an exception even though the API doc clearly states that "Validity is determined via the existence of a readable manifest file" This now adds two checks 1) the location points to a file that exits and is larger than zero bytes 2) parsing the manifest from the location do not throw an exception
- Loading branch information