Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
x/mobile: proposal to support passing null to Go #20330
Currently if an Android app tries to call a gomobile bounded method with a
Looking at the code, it's fairly obvious what happens: gomobile assumes that any object passed to it actually originates from inside Go, and is a proxy/wrapper object. This makes perfect sense, since it's meaningless to pass a Java object to Go directly as it doesn't know what to do with it.
Edit: Opened a CL with the proper code to support this.
The rationale behind supporting this is that in Go, code often allows setting some parameters to