blob: 68b02b3a51a3e0a082dac61cca3a0042df072eac [file] [view] [edit]
If a conditional expression evaluates to `null`, unboxing it will result in a
`NullPointerException`.
For example:
```java
int x = flag ? foo : null:
```
If `flag` is false, `null` will be auto-unboxed from an `Integer` to `int`,
resulting in a NullPointerException.