summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-05-14 15:46:47 -0700
committerRaph Levien <raph@google.com>2014-05-14 15:46:47 -0700
commit8d2aa199774f50256617351bf9caaaef59d47c59 (patch)
treeff00629750752b681be8e19c6a799e038e7640bc /rs/java/android/renderscript/ProgramStore.java
parentfa28b984474204ce918370fb249bfab8870140b6 (diff)
Fix android.text.cts.TextUtilsTest#testRegionMatches
The CTS test expects an ArrayIndexOutOfBounds exception when passing in an unreasonably large value for len. Since the actual implementation was causing an integer overflow, we were getting a different exception. Since integer overflow is potentially dangerous, this patch tests for it and throws an exception explicitly. Change-Id: I0420c06185d33d130853861d25d4f65b06fe0dfa
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions