diff options
author | John Field <jfield@google.com> | 2016-01-16 19:05:56 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@google.com> | 2016-01-18 14:32:22 +0000 |
commit | bcb1beaf0adad3f7409e55ae42f3c8498bd8a0eb (patch) | |
tree | 2737c33ad2db19678f2dac9909167d82649ba984 /src/main/java/com/google/devtools/build/lib/packages/Package.java | |
parent | e3ce21fab041c6c8e6da2811f5dce75615ccb1f4 (diff) |
Disallow loads from external repos in WORKSPACE files. Currently, attempting to do such a load will result in a skyframe circular dependency exception.
As a side effect of this change, SkylarkImportFailedExceptions thrown by SkylarkImportLookupFunction are now caught by PackageFunction and wrapped and rethrown as a PackageFunctionException. Previously, the first exception wasn't caught, generating an uncaught exception error at top level.
--
MOS_MIGRATED_REVID=112328755
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/packages/Package.java')
0 files changed, 0 insertions, 0 deletions