mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
IDEA-73344: Writing unknown value to a nullable variable must reset it's nullability status to unknown, rather than nullable.
This commit is contained in:
@@ -7,7 +7,7 @@ public class Npe {
|
||||
o.hashCode(); // NPE
|
||||
}
|
||||
|
||||
Object foo() {
|
||||
@Nullable Object foo() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user