diff options
| author | 2019-11-11 13:07:38 -0800 | |
|---|---|---|
| committer | 2019-11-11 21:48:33 +0000 | |
| commit | e94272d0b3c4133be3401ace5d70d8b56710749c (patch) | |
| tree | bc8be8c75185e0bf9b7a3a2c3b41620876343e25 /java/java.go | |
| parent | 2d5ce8538b74b983b3b58d67a1c5272258d6bf26 (diff) | |
Silence trailing "1 warning" message from javac when warning is silenced
soong_javac_wrapper is silencing a useless warning:
warning: [options] bootstrap class path not set in conjunction with -source 1.9
but recent versions of javac have started also printing:
1 warning
Read the warning count, subtract the number of silenced warnings, and
reprint it if the non-silenced warning count is nonzero.
Fixes: 144118634
Test: javac_wrapper_test.go
Change-Id: Ie1d0a978188ab7b1c41027f718a1274608628123
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions