This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Kawa build warnings


I wrote:
C:\JVM\kawa\gnu\kawa\slib\srfi69.scm:33:21: warning - no accessible
method 'hashCode' in java.lang.CharSequence

When I change

> (define (string-hash (s :: <string>) #!optional (bound :: <integer> #!null))
to
> (define (string-hash (s :: <String>) #!optional (bound :: <integer> #!null))


warning disappears. What are the differences between <string> and
<String>?

Broken solve.
Hmm, <String> is <java.lang.String>, <string> is <gnu.lists.FString> - right? Why <string> is present as <java.lang.CharSequence>?


--
WBR, Yaroslav Kavenchuk.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]