kawa 2.2 last call

Per Bothner per@bothner.com
Sat Oct 15 00:38:00 GMT 2016



On 10/14/2016 05:16 PM, David Pirotte wrote:
> Still have errors though:
>
> 	david@capac:/usr/local/src/kawa/svn 39 $ javac -version
> 	javac 1.8.0_102
> ...
> mv tmp-list tmp-sources1.list
> javac -d . -classpath ".:.:$CLASSPATH" -g @tmp-sources1.list
> ./gnu/expr/ApplicationMainSupport.java:71: error: cannot find symbol
>         commandLineArguments = FVector.makeConstant(array);  // FIXME scsh has list
>                                       ^
>   symbol:   method makeConstant(Object[])
>   location: class FVector
> ./gnu/kawa/reflect/Invoke.java:184: error: cannot find symbol
>                 return FVector.makeConstant((Object[]) arr);
>                               ^
>   symbol:   method makeConstant(Object[])
>   location: class FVector
> ./gnu/kawa/lispexpr/ReaderVector.java:56: error: incompatible types: Object[] cannot be converted to UnaryOperator
>          result.replaceAll(((LList) head.getCdr()).toArray());
>                                                           ^
> ./gnu/kawa/xml/HttpPrinter.java:186: error: method writeTo in class ByteVector<E> cannot be applied to given types;
>                   ((Blob) v).writeTo(outs);
>                             ^
>   required: int,int,OutputStream
>   found: OutputStream
>   reason: actual and formal argument lists differ in length
>   where E is a type-variable:
>     E extends Object declared in class ByteVector
> ./kawa/lang/Quote.java:354: error: cannot find symbol
>                 result = FVector.<Object>makeConstant(buffer);
>                                 ^
>   symbol:   method <Object>makeConstant(Object[])
>   location: class FVector

Strange.  I'm guessing one of:
(1) an inconsistent Subversion check-out.
     (There should be *two* writeTo methods in ByteVector.)
(2) Some stale classes or a bogus .jar in your classpath.
(a) Make sure CLASSPATH is not set in your environment.
(b) Do a "make clean" followed by "find . -name '*.class'"

My guess is (2a).
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Kawa mailing list