commit | 11dd66d3cff6e8d7b657a9013b6b93585e554acc | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Wed Dec 16 17:09:51 2015 +0000 |
committer | Yi Kong <yikong@google.com> | Thu Dec 17 10:32:45 2015 +0000 |
tree | 4f42aacd030b19355a76e48b0e28ed136af143cf | |
parent | 02b720fa5add062e3f52ec28d2c050b746a54382 [diff] |
Fix MessageFormatTest#test_setFormat formats array may have more space than the number of format elements in the pattern string. We need to explicitly check the range and throw ArrayIndexOutOfBoundsException when the element index is nonexistant. Bug: 26207029 Change-Id: I38efb945b3c7974cad946fa1a52569a225075cbd