1
0
mirror of https://github.com/golang/go synced 2024-11-19 17:14:44 -07:00
go/src
Keith Randall 36aa2b036d cmd/cgo: make JNI's jobject type map to uintptr in Go
The jobject type is declared as a pointer, but some JVMs
(Dalvik, ART) store non-pointer values in them. In Go, we must
use uintptr instead of a real pointer for these types.

This is similar to the CoreFoundation types on Darwin which
were "fixed" in CL 66332.

Update #22906
Update #21897

RELNOTE=yes

Change-Id: I0d4c664501d89a696c2fb037c995503caabf8911
Reviewed-on: https://go-review.googlesource.com/81876
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-12-08 16:13:14 +00:00
..
archive archive/zip: add test for Modified vs ModTime behavior 2017-12-01 00:22:21 +00:00
bufio bufio: Use maxConsecutiveEmptyReads instead of 100 2017-11-14 05:21:00 +00:00
builtin builtin: improve docs for make slice 2017-11-18 01:48:52 +00:00
bytes bytes: mention strings.Builder in Buffer.String docs 2017-11-30 01:46:50 +00:00
cmd cmd/cgo: make JNI's jobject type map to uintptr in Go 2017-12-08 16:13:14 +00:00
compress
container container/ring: fix example_test.go 2017-10-31 03:52:55 +00:00
context
crypto hash: add MarshalBinary/UnmarshalBinary round trip + golden test for all implementations 2017-12-06 07:45:46 +00:00
database/sql database/sql/driver: explain Driver vs DriverContext vs Connector 2017-12-06 05:05:10 +00:00
debug debug/gosym: update docs for changes in Go 1.3 2017-11-30 22:49:27 +00:00
encoding encoding/xml: don't crash on invalid XMLName tag 2017-12-07 05:09:01 +00:00
errors
expvar
flag flag: clarify comment to avoid shell syntax confusion 2017-12-06 04:36:03 +00:00
fmt fmt: hide bad format in test from vet 2017-10-31 13:49:53 +00:00
go go/types: don't use directory foo which might exist under GOPATH 2017-12-01 22:37:11 +00:00
hash hash: add MarshalBinary/UnmarshalBinary round trip + golden test for all implementations 2017-12-06 07:45:46 +00:00
html html/template: fix typo in TestOrphanedTemplate error message 2017-12-08 13:41:02 +00:00
image Revert "go/printer: forbid empty line before first comment in block" 2017-12-01 01:12:26 +00:00
index/suffixarray
internal net: avoid race on test hooks with DNS goroutines 2017-12-08 05:12:13 +00:00
io io: eliminate full copy of copy loop in CopyN 2017-11-16 02:24:37 +00:00
log log: Remove unnecessary else 2017-10-25 05:02:37 +00:00
math math: remove asm version of Dim 2017-11-30 21:00:33 +00:00
mime all: unindent some if bodies by exiting early 2017-10-31 20:07:46 +00:00
net net: avoid race on test hooks with DNS goroutines 2017-12-08 05:12:13 +00:00
os syscall: make Seek use SetFilePointerEx on Windows, allowing large seek offsets 2017-12-07 19:32:24 +00:00
path
plugin cmd/link, plugin: always encode path 2017-10-26 15:08:37 +00:00
reflect reflect: audit and explain safety of all unsafe.Pointer additions 2017-12-01 21:05:40 +00:00
regexp Revert "go/printer: forbid empty line before first comment in block" 2017-12-01 01:12:26 +00:00
runtime runtime: make RawSyscall panic on Solaris 2017-12-08 00:11:19 +00:00
sort sort: split post-Go1.4 code into its own file 2017-10-27 16:01:43 +00:00
strconv unicode: update to Unicode 10.0.0 2017-10-24 12:42:35 +00:00
strings strings: delete unused constant 2017-12-08 13:48:05 +00:00
sync sync: throw, not panic, for unlock of unlocked mutex 2017-12-08 13:40:21 +00:00
syscall syscall: make Seek use SetFilePointerEx on Windows, allowing large seek offsets 2017-12-07 19:32:24 +00:00
testing cmd/go: honor -timeout=0 to mean no timeout 2017-12-01 21:09:19 +00:00
text text/template: remove unnecessary lexer field 2017-11-10 04:13:30 +00:00
time time: condense, expand Time.Unix example 2017-12-06 03:57:37 +00:00
unicode Revert "go/printer: forbid empty line before first comment in block" 2017-12-01 01:12:26 +00:00
unsafe
vendor/golang_org/x vendor: update golang.org/x/net/nettest from upstream 2017-11-29 19:55:02 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash build: add alternate output format for bootstrap.bash, as used by builders 2017-11-30 17:37:23 +00:00
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash cmd/dist: fix bad LC_TIME assumption in 'date' invocation 2017-11-03 13:42:33 +00:00
make.bat build: quiet make.bash, make.bat, make.rc 2017-10-31 13:48:53 +00:00
Make.dist
make.rc build: quiet make.bash, make.bat, make.rc 2017-10-31 13:48:53 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc