diff options
author | 2022-01-10 17:02:16 -0800 | |
---|---|---|
committer | 2022-01-10 19:58:14 -0800 | |
commit | 6bc132aff937892ac2a255fb04e1185ef24b2bdd (patch) | |
tree | bd9c6ef591e07988758cf49d3aa1790bde5e0d8c /java/sdk.go | |
parent | 6609484961f68da24684fd3430ea54f74112e209 (diff) |
Check missing uncoditionally loaded missing modules at runtime
A potentially inherited (via dynamically calculated path) module may in turn
unconditionally load a module that does no exist in a source tree -- it is
not an error if this potentially inherited module is actually never inherited
because its dynamically calculated path will never reference it. Instead of
emitting an uncoditional `load` for a non-existent file (which is going to fail
in the Starlark parser), emit conditional load and a runtime check.
Fixes: 213922819
Test: internal
Change-Id: I92177878e199a1f00e5f0c4045c0c0daeddd6bdb
Diffstat (limited to 'java/sdk.go')
0 files changed, 0 insertions, 0 deletions