diff options
author | Bryce McKinlay <bryce@albatross.co.nz> | 2001-02-14 05:32:31 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2001-02-14 05:32:31 +0000 |
commit | 97a4d32ec6b8e1ea688b2ccd8ba54b8597227c79 (patch) | |
tree | 4f2a41fd0521db9e0327c39ffe966d5f227e8cf6 /libjava/java/util/NoSuchElementException.java | |
parent | a142a996267f9c8adf239a565725174265c67749 (diff) | |
download | gcc-97a4d32ec6b8e1ea688b2ccd8ba54b8597227c79.zip gcc-97a4d32ec6b8e1ea688b2ccd8ba54b8597227c79.tar.gz gcc-97a4d32ec6b8e1ea688b2ccd8ba54b8597227c79.tar.bz2 |
natClass.cc (getSignature): Don't try to dereference param_types if it is null.
* java/lang/natClass.cc (getSignature): Don't try to dereference
param_types if it is null. Instead, take this to mean "no parameters".
* java/lang/TreeMap.java (TreeIterator.next): Throw
NoSuchElementException in preference to
ConcurrentModificationException.
(TreeIterator.remove): Throw IllegalStateException in preference to
ConcurrentModificationException.
(SubMap.firstKey): Do a better check for empty SubMap, and if it is,
throw a NoSuchElementException.
(SubMap.lastKey): Likewise.
From-SVN: r39658
Diffstat (limited to 'libjava/java/util/NoSuchElementException.java')
0 files changed, 0 insertions, 0 deletions