-
Notifications
You must be signed in to change notification settings - Fork 870
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
JDK 16: final variable in pattern matching with instanceof #588
Comments
Thanks for the report, it looks like this wasn't supported prior to JDK 16: https://bugs.openjdk.java.net/browse/JDK-8257759 |
copybara-service bot
pushed a commit
that referenced
this issue
Apr 12, 2021
Fixes #588 PiperOrigin-RevId: 367902205
copybara-service bot
pushed a commit
that referenced
this issue
Apr 12, 2021
Fixes #588 PiperOrigin-RevId: 367902205
copybara-service bot
pushed a commit
that referenced
this issue
Apr 13, 2021
Fixes #588 PiperOrigin-RevId: 367902205
fawind
pushed a commit
to palantir/palantir-java-format
that referenced
this issue
Dec 13, 2021
Fixes google/google-java-format#588 PiperOrigin-RevId: 368117115
fawind
pushed a commit
to palantir/palantir-java-format
that referenced
this issue
Jan 7, 2022
Fixes google/google-java-format#588 PiperOrigin-RevId: 368117115
fawind
pushed a commit
to palantir/palantir-java-format
that referenced
this issue
Jan 7, 2022
Fixes google/google-java-format#588 PiperOrigin-RevId: 368117115
fawind
pushed a commit
to palantir/palantir-java-format
that referenced
this issue
Jan 7, 2022
Fixes google/google-java-format#588 PiperOrigin-RevId: 368117115
fawind
pushed a commit
to palantir/palantir-java-format
that referenced
this issue
Jan 10, 2022
Fixes google/google-java-format#588 PiperOrigin-RevId: 368117115
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Declaring a variable final when matching pattern with instanceof operator causing an exception.
Code example:
Error:
The text was updated successfully, but these errors were encountered: