natClass.cc (getSignature): Don't try to dereference param_types if it is null.
authorBryce McKinlay <bryce@albatross.co.nz>
Wed, 14 Feb 2001 05:32:31 +0000 (05:32 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Wed, 14 Feb 2001 05:32:31 +0000 (05:32 +0000)
commit97a4d32ec6b8e1ea688b2ccd8ba54b8597227c79
tree4f2a41fd0521db9e0327c39ffe966d5f227e8cf6
parenta142a996267f9c8adf239a565725174265c67749
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
libjava/ChangeLog
libjava/java/lang/natClass.cc
libjava/java/util/TreeMap.java