Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix junit5 excavator #2631

Open
wants to merge 130 commits into
base: roomba/junit5
Choose a base branch
from
Open

Fix junit5 excavator #2631

wants to merge 130 commits into from

Conversation

schlosna
Copy link
Contributor

Before this PR

JUnit 5 excavator #2487 is broken

After this PR

==COMMIT_MSG==
Fix junit5 excavator
==COMMIT_MSG==

Possible downsides?

svc-excavator-bot and others added 30 commits March 16, 2023 15:24
SafeLoggingPropagation uses new ASTHelpers.isRecord function
#2537)

StrictUnusedVariable is not suppressed when UnusedVariable is disabled
#2530)

Add check: Use Collection.isEmpty() instead of comparing size() with 0
Fix #2543 CardinalityEqualsZero equality comparison check
Add a line for an error-prone check added in #655, which is missing from the README.
…Exception (#2541)

Add check: Use InvocationTargetException.getCause instead of getTargetException.
No longer suggest the "Save Actions" IntelliJ plugin which does not work in IntelliJ 2023.1 for use with Palantir Java Format. Instead, Palantir Java Format will support the IntelliJ native "Actions on save" reformat capability in a future release.
svc-excavator-bot and others added 8 commits August 10, 2023 14:05
Prefer InputStream.transferTo(OutputStream)

Add error-prone check to automate migration to prefer `InputStream.transferTo(OutputStream)` instead of utility methods such as Guava's `com.google.common.io.ByteStreams.copy(InputStream, OutputStream)`.

Allow for optimization when underlying input stream (such as `ByteArrayInputStream`, `ChannelInputStream`) overrides `transferTo(OutputStream)` to avoid extra array allocations and copy larger chunks at a time (e.g. allowing 16KiB chunks via `ApacheHttpClientBlockingChannel.ModulatingOutputStream` from #1790).

When running on JDK 21+, this also enables 16KiB byte chunk copies via `InputStream.transferTo(OutputStream)` per
[JDK-8299336](https://bugs.openjdk.org/browse/JDK-8299336), where as on JDK < 21 and when using Guava `ByteStreams.copy` 8KiB byte chunk copies are used.

References:
* palantir/hadoop-crypto#586
* https://bugs.openjdk.org/browse/JDK-8299336
* https://bugs.openjdk.org/browse/JDK-8067661
* https://bugs.openjdk.org/browse/JDK-8265891
* https://bugs.openjdk.org/browse/JDK-8273038
* https://bugs.openjdk.org/browse/JDK-8279283
* https://bugs.openjdk.org/browse/JDK-8296431

Closes #2615
svc-excavator-bot and others added 19 commits August 29, 2023 21:17
Improve SafeLoggingPropagation on Immutables, taking into account fields from superinterfaces
Upgrade error-prone to 2.21.1 (from 2.19.1)
…adle 7 and 8 (#2605)

Use a `Proxy` for `JavaInstallationMetadata` so we can work across Gradle 7 and 8.
`baseline-exact-dependencies` is now far more lazy around `Configuration` creation in order to support Gradle 8.
Revert "Lazy exact dependencies"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet