summaryrefslogtreecommitdiffstats
path: root/libjava/java/util/RandomAccess.java
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-21 00:06:02 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-21 00:06:02 +0000
commit4aa4288bf774c525182c6e8a388935de2af55ca8 (patch)
tree86541239e0f24c6b8ccdb784b4212770c4b0f617 /libjava/java/util/RandomAccess.java
parentd30abf85c37636c526f442b0c791054107d0eede (diff)
downloadppe42-gcc-4aa4288bf774c525182c6e8a388935de2af55ca8.tar.gz
ppe42-gcc-4aa4288bf774c525182c6e8a388935de2af55ca8.zip
2004-10-20 Paolo Carlini <pcarlini@suse.de>
* include/ext/bitmap_allocator.h (allocate): Throw std::bad_alloc when n > max_size(). * include/ext/malloc_allocator.h (allocate): Likewise. * include/ext/mt_allocator.h (allocate): Likewise. * include/ext/new_allocator.h (allocate): Likewise. * include/ext/array_allocator.h: Use __throw_bad_alloc(). * include/ext/pool_allocator.h: Use __builtin_expect. * testsuite/ext/array_allocator/check_allocate_max_size.cc: New. * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc: Likewise. * testsuite/ext/malloc_allocator/check_allocate_max_size.cc: Likewise. * testsuite/ext/mt_allocator/check_allocate_max_size.cc: Likewise. * testsuite/ext/new_allocator/check_allocate_max_size.cc: Likewise. * testsuite/ext/pool_allocator/check_allocate_max_size.cc: Likewise. * testsuite/testsuite_allocator.h (check_allocate_max_size): New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89351 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/RandomAccess.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud