Hi, > * Dmitry (who raised the issue) believes that we should change the > Harmony code to throw the type named in the Javadoc/specification (i.e. > the supertype j.l.IndexOutOfBoundsException).
Dmitry is wrong. > * Nathan believes that the code already abides by the specification and > that there is no need for any change in this area. Nathan is right. > * Little old me thinks that there *is* a problem here but that the > solution is to do as the RI does and throw exceptions with the very same > runtime type as the RI. That's based on my interpretation of the > exception-throwing compatibility guidelines [2], in particular the > fragment "Harmony class library code should throw exceptions of the same > type as the RI". You are right too. If it were my project I would change to mimic the RI once the discrepancy were pointed out to me, but I wouldn't (and don't) go looking for such things. Chris -- Chris Gray /k/ Embedded Java Solutions BE0503765045 Embedded & Mobile Java, OSGi http://www.k-embedded-java.com/ [EMAIL PROTECTED] +32 3 216 0369 --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]