summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2021-09-14 17:32:49 -0700
committer Cole Faust <colefaust@google.com> 2021-09-14 17:35:19 -0700
commit64cb7c964a8f33d473fba87af790e2c281dc1451 (patch)
treefc251d97f0cf0286ffbbb62e49de9cdab9b4505c /java/java.go
parent2551d2539e064917df20806efd0c4c469df0b76f (diff)
Fix panic when a module has an invalid output path
dep.OutputFile().Path() can panic if the OutputFile is invalid, so move more of the code into the check for validity. This changes the go crash into a build error. Bug: 158624492 Test: Apply the patchset 1 of ag/11815659, lunch aosp_x86_64-eng, m Change-Id: Ic8a728be1b570ac73be7b2b9461676f9fd99c266
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions