-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't workingslugNew or updated pattern snippet (category/slug.json)New or updated pattern snippet (category/slug.json)
Description
Category
language
Pattern slug
guarded-patterns
Which code is affected?
Old code example
Type of issue
Code doesn't compile
Describe the issue
Old code is tagged as java 8 but the instanceof pattern matching syntax (xx instance of yy var) is only available since java 16
Suggested fix
tag old code as java 16 (17 LTS) or do not use the instanceof pattern matching syntaxJDK version tested
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingslugNew or updated pattern snippet (category/slug.json)New or updated pattern snippet (category/slug.json)