diff options
author | Googler <noreply@google.com> | 2017-02-10 17:57:42 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2017-02-10 18:19:36 +0000 |
commit | 0eaff4437cf23da52983a659456e707d6fd372e3 (patch) | |
tree | 3992796fa469c13a4da5c05df5ccd4062672ecc7 /src/main/java/com/google/devtools/build/lib/packages/BuildType.java | |
parent | 350a4166a8122d912773d9e93ea089f66b870ff5 (diff) |
Install support for checking for 'one version' correctness of java_binary
rules: If the collection of jars for a java_binary contain more than one
instance of the same class, one of them will be arbitrarily loaded at runtime.
This is problematic if the instances of the class are not identical, as methods
or fields from one class version might be missing in the other, leading to
runtime failures when methods are missing.
This change adds an experimental flag to enable one version enforcement. The
actual enforcement tool will come later.
--
PiperOrigin-RevId: 147166361
MOS_MIGRATED_REVID=147166361
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/packages/BuildType.java')
0 files changed, 0 insertions, 0 deletions