diff options
| author | 2019-03-19 15:05:17 -0700 | |
|---|---|---|
| committer | 2019-03-19 23:47:22 +0000 | |
| commit | 3020fee8895163f8eccb1d2cd53b4faeff950dfd (patch) | |
| tree | 67c2f0cdda142180980950f4625d2fcfa3deef35 /java/java_resources.go | |
| parent | 1b7a4b00742fe7bcd22ae04e1b9eae2c01b3677c (diff) | |
Support go 1.12
go 1.12 changed the stack trace of a function call during global
variable initialization to contain a function called
"PKG.init.ializers". Fix callerName to split the package path
and function name on the first "." after the last "/", and look
for functions called "init.ializers" or functions with the
prefix "init."
Test: Soong tests with go 1.12
Change-Id: I25f1ba989ef2d65ca85cb7c9d84454cca230ff86
Diffstat (limited to 'java/java_resources.go')
0 files changed, 0 insertions, 0 deletions