commit | 8ffb9728e6a25033005eb527b9e2999693557331 | [log] [tgz] |
---|---|---|
author | Googler <hvd@google.com> | Wed Feb 22 03:52:00 2023 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 22 03:53:45 2023 -0800 |
tree | da00f0379e69e5c77e2180858630f0e1674fb630 | |
parent | d55029f6665a38a9972622f157e3d75a5b28f0f6 [diff] |
Dedup source jars and `JavaOutput`s in JavaInfo Using a set instead of list avoids holding excessive duplicate objects when performing `JavaInfo.merge()`. Since we never perform any removals, `CompactHashSet` preserves the insertion order. Fixes https://github.com/bazelbuild/bazel/issues/17170 PiperOrigin-RevId: 511453554 Change-Id: Iab5b6c98297fb850dd6989b670fe24b78e9f8376
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
To report a security issue, please email security@bazel.build with a description of the issue, the steps you took to create the issue, affected versions, and, if known, mitigations for the issue. Our vulnerability management team will respond within 3 working days of your email. If the issue is confirmed as a vulnerability, we will open a Security Advisory. This project follows a 90 day disclosure timeline.
See CONTRIBUTING.md