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 #2328 Handle safety flow through instanceof pattern matching #2331

Merged
merged 4 commits into from
Jul 26, 2022

Conversation

carterkozak
Copy link
Contributor

==COMMIT_MSG==
Handle safety flow through instanceof pattern matching
==COMMIT_MSG==

@carterkozak carterkozak requested a review from fawind July 25, 2022 20:06
@changelog-app
Copy link

changelog-app bot commented Jul 25, 2022

Generate changelog in changelog/@unreleased

Type
See change types. Select one:

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

Description

Handle safety flow through instanceof pattern matching

Check the box to generate changelog(s)

  • Generate changelog entry

@@ -34,4 +34,5 @@ moduleJvmArgs {
'jdk.compiler/com.sun.tools.javac.tree',
'jdk.compiler/com.sun.tools.javac.util'
]
opens = ['jdk.compiler/com.sun.tools.javac.comp']
Copy link
Contributor

Choose a reason for hiding this comment

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

For my understanding, why do we need the additional "opens" declaration now? I don't see any new usage in the diff here.

Copy link
Contributor Author

@carterkozak carterkozak Jul 26, 2022

Choose a reason for hiding this comment

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

This allows this module to pass tests using jdk17. Not required for the build, but initially I tried using jdk17 everywhere, but some tests are more difficult to fix.

Copy link
Contributor

@fawind fawind 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 bd008cf into develop Jul 26, 2022
@bulldozer-bot bulldozer-bot bot deleted the ckozak/gh2328 branch July 26, 2022 09:23
@svc-autorelease
Copy link
Collaborator

Released 4.148.0

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

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

# Release Notes
## 4.148.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Fix | Handle safety flow through instanceof pattern matching | palantir/gradle-baseline#2331 |



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