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

Roll back nullaway+checkerframework for jdk15 support #2389

Merged
merged 2 commits into from
Sep 16, 2022

Conversation

carterkozak
Copy link
Contributor

Newer release support 11 and 17, but do not support the now-sunset jdk-15.

==COMMIT_MSG==
Roll back nullaway+checkerframework for jdk15 support
==COMMIT_MSG==

Possible downsides?

Unfortunately we can't use the latest release of checkerframework libs until folks have migrated away from jdk15 MTS builds.

Newer release support 11 and 17, but do not support the now-sunset
jdk-15.
@changelog-app
Copy link

changelog-app bot commented Sep 16, 2022

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Roll back nullaway+checkerframework for jdk15 support

Check the box to generate changelog(s)

  • Generate changelog entry

Comment on lines +89 to +97
def 'compileJava succeeds when null-away finds no errors on jdk15'() {
when:
buildFile << standardBuildFile.replace('libraryTarget = 17', 'libraryTarget = 15')
file('src/main/java/com/palantir/test/Test.java') << validJavaFile

then:
BuildResult result = with('compileJava').build()
result.task(":compileJava").outcome == TaskOutcome.SUCCESS
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test fails without the change.

@carterkozak carterkozak requested a review from CRogers September 16, 2022 13:40
Copy link
Contributor

@xRuiAlves xRuiAlves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bulldozer-bot bulldozer-bot bot merged commit 56c721a into develop Sep 16, 2022
@bulldozer-bot bulldozer-bot bot deleted the ckozak/fix_jdk15_compat branch September 16, 2022 14:49
@svc-autorelease
Copy link
Collaborator

Released 4.168.0

This was referenced Sep 16, 2022
bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Sep 16, 2022
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 4.168.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Fix | Roll back nullaway+checkerframework for jdk15 support | palantir/gradle-baseline#2389 |


## 4.169.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Exclude Spark UnusedStubClass from class uniqueness | palantir/gradle-baseline#2390 |



To enable or disable this check, please contact the maintainers of Excavator.
This was referenced Sep 16, 2022
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.

4 participants