diff options
author | Carmi Grushko <carmi@google.com> | 2017-02-01 07:49:29 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2017-02-01 08:57:49 +0000 |
commit | bef4fbed3d22a976b895a3f75ad41699747c286e (patch) | |
tree | 47c4d589ab86d0a63eca302cdc51e9fa5bb26022 /src/main/java/com/google/devtools/build/lib/worker/WorkerSpawnStrategy.java | |
parent | 28bf873a45e9787cbaa8dcffeedc4b98fa8fc2c2 (diff) |
Do not crash when a strict proto_library depends on a non-strict one.
(strictness in the sense of strict proto deps)
The reason for the crash was that a non-strict proto_library would put 'null' in its SupportData.protosInDirectDeps, and then a strict proto_library that consumes it would choke on the null. This rearranges things so that protosInDirectDeps will never be null.
--
PiperOrigin-RevId: 146210040
MOS_MIGRATED_REVID=146210040
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/worker/WorkerSpawnStrategy.java')
0 files changed, 0 insertions, 0 deletions