Use jikes for kawa problem and Re: bug/patch for kawa/standard/object.java
Vladimir Tsichevski
wowa@jet.msk.su
Tue Mar 25 09:27:00 GMT 2003
Hi Per,
Per Bothner wrote:
> Vladimir Tsichevski wrote:
>
>> Hi,
>>
>> object with methods cannot currently be declared with define-syntax
>> mechanism. You get "missing method name"
>> error message if you try to.
>>
>> Below is the patch which (hopefully) cures this problem.
>
>
> Good job getting this far. The patch is basically correct,
> but it doesn't go far enough.
> Co-incidentally (?), I was looking the bug Chris Dean
> reported, and I came up with the attached patch.
Ok,
here then is another bunch of notes/problems/patches:
==========================================================================
make check failed if you configure jikes as Java compiler. Failed
operation was
CLASSPATH=..:. jikes -g ./SimpleB.java -d .
reason: CLASSPATH must explicitly include Java runtime library rt.jar
suggestion: improve configure.in to locate Java runtime library and
change the Makefile.am's corrspondingly
The attached patch compile-with-jikes should solve this.
The patch includes also fix for typo in configure.in . Was:
AC_ARG_WITH(sax2,
[ --with-sax2 Assume AWT is available])
==========================================================================
Bug in NumberCompare
(let((a <int> 1))
(= 1 a))
(Sorry, I'm not shure whether I already reported it earlier).
see the bug-in-NumberCompare patch
==========================================================================
Minor problem: *.java source files in testsuite/ subdir have empty
package. This makes it harder to compile kawa with such instruments as
Borland JBuilder
Solution: either move all the kawa sources to subdirectory named say
src/ , so we can use it as
reliable source base, or use package name testsuite for all Java files
it testsuite directory.
==========================================================================
Minor problem making documentation: version.texi file is not auto-generated
Making all in doc
make[1]: ???? ? ??????? `/jet/wowa/build/kawa_patched/doc'
/bin/sh /jet/wowa/build/kawa_patched/missing --run makeinfo -I . \
-o kawa.info `test -f 'kawa.texi' || echo './'`kawa.texi
kawa.texi:11: @include `version.texi': No such file or directory.
==========================================================================
Minor problem:
configuration: Makefiles's are not rebuilt automatically when
Makefile.am changes as it should be
==========================================================================
make check results in an error:
FAIL: "declare namespace File='class:java.io.File'
define function make-file ($x) {File:new($x)}
define function parent ($x) {java.io.File:getParent($x)}
parent(make-file('dir/mine.txt'))" evaluated to "*** syntax error -
<string>:2:33: warning - no definitely applicable method `<init>' in
java.io.File" but expected "dir"
reason: failure to compile File:new() procedure
==========================================================================
Regards,
Vladimir
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compile-with-jikes
URL: <http://sourceware.org/pipermail/kawa/attachments/20030325/db6f0944/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug-in-NumberCompare
URL: <http://sourceware.org/pipermail/kawa/attachments/20030325/db6f0944/attachment-0001.ksh>
More information about the Kawa
mailing list