https://kotlinlang.org logo
#announcements
Title
# announcements
s

sdeleuze

08/09/2019, 2:52 PM
I am trying to get some info about a pretty annoying Java interrop issue (existing issue for example). Does that ring a bell to anyone? It happens with or without the new type inference. https://kotlinlang.slack.com/archives/C0B8ZTWE4/p1565359547058200
c

czuckie

08/09/2019, 2:55 PM
This isn't just because the object you're passing in isn't optional?
s

sdeleuze

08/09/2019, 3:08 PM
Indeed
But I was not expecting that behavior
This problem is resolved if
Object rootObject
is anotated with
@Nullable
(and it is nullable in practice) so I will go that way I think
2 Views