Commit Graph

2 Commits

Author SHA1 Message Date
Andrey Cherkasov
9ccc820db2 [java] Remove Java 17 Preview and Java 18 Preview language levels
IDEA-314047

GitOrigin-RevId: 8c24deb2dfb5361f08857d7933ab290476f4ce84
2023-06-19 17:37:05 +00:00
Nikita Eshkeev
827f379576 [java][guarded pattern] IDEA-273957 - Good code red: 'cannot resolve symbol' introduced in instanceof pattern
IDEA didn't use to consider that there might be instanceof patterns in the guard expression, so it ignored this part during resolution. Now IDEA tries to resolve a reference against both the pattern variable and guarding expression.

GitOrigin-RevId: 249ce6ec8ec6db84f9a5fc4622b4433550b38bf4
2021-07-28 12:11:57 +00:00