commit | 48338d078512ba97224347023aea93e660a4bae7 | [log] [tgz] |
---|---|---|
author | Takuya Ueda <uedatakuya@gmail.com> | Sat Nov 19 18:16:50 2016 +0900 |
committer | Elias Naur <elias.naur@gmail.com> | Mon Nov 21 14:51:32 2016 +0000 |
tree | c567c7d3c90c113413da8510ec6c5cba70278d2c | |
parent | 98823363be79df5851bd6fbeb56528a509445517 [diff] |
internal/importers/java: specify language for javap command by -J-Duser.language=en In Japanese environment, `javap` report errors in Japanese. ``` $ /usr/bin/javap -s -protected -constants com.example.ExampleClass エラー: クラスが見つかりません: com.example.ExampleClass ``` But `java.Importer.Import` handles errors using `javap`'s output in English. So `javap` should be called with `-J-Duser.language=en` option. Fixes golang/go#17987 Change-Id: I63d30cd49446523e54df2beae8d3f09f9de9bca5 Reviewed-on: https://go-review.googlesource.com/33371 Reviewed-by: Elias Naur <elias.naur@gmail.com>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.