classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: Added missing methods in org.ietf interface declar


From: Tom Tromey
Subject: Re: [cp-patches] FYI: Added missing methods in org.ietf interface declarations.
Date: Thu, 20 Oct 2005 11:14:00 -0600

>>>>> "Audrius" == Meskauskas Audrius <address@hidden> writes:

Audrius> This patch adds the declaration of the hashCode method to these two 
Audrius> interfaces. The method is inherited from Object, and explicit 
Audrius> declaration just indicates that it must be overridden because the 
Audrius> .equals must be overridden.

Audrius> 2005-10-20  Audrius Meskauskas  <address@hidden>
Audrius> * org/ietf/jgss/GSSCredential.java (hashCode),
Audrius> org/ietf/jgss/GSSName.java (hashCode): New declarations.

There was already some discussion of this change on one of the
classpath lists.

Short form: this particular japi note is probably a japi bug.  And,
this patch doesn't actually change anything of note... interfaces
already implicitly inherit hashCode from Object (there is a special
case in the JLS for certain methods of Object).

I don't think that this patch hurts anything either.  Now that it is
in I'd prefer it remain, if for no other reason than to placate japi.
(FWIW I still want to see those RCSId patches go in as well...)

Tom





reply via email to

[Prev in Thread] Current Thread [Next in Thread]