This is the mail archive of the kawa@sources.redhat.com 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: bug in compilation


indeed, with 

(define (make-string-event value)
  (let ((new-string (make <java.lang.String> value)))
    (invoke new-string 'trim)
    new-string))

declared in another file, which I 

invoque using (require <compiled>)

I have no problems.

I am keeping investigating, sorry.

Stan.

-----Original Message-----
From: Per Bothner [mailto:per@bothner.com]
Sent: dinsdag 28 mei 2002 16:05
To: Pinte_Stanislas@emc.com
Cc: kawa@sources.redhat.com
Subject: Re: bug in compilation


Pinte_Stanislas@emc.com wrote:
> #|(---:4|# #|(---:5|# #|(---:6|# #|(---:7|# #|(---:8|# #|(---:9|#
> #|(---:10|# #|kawa:11|# java.lang.VerifyError: (class:
> com/filepool/analyzer/script/utils, method: makeEventDaoStatusBig
signature:
>
(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;)
> Expecting to find object/array on stack

I have no idea.

> Here is what the source of the <com.script.scripting> compiled module:
> 
> (define (make-event-dao param1 param2 param3)
>   (let ((event-dao (make <com.mycompany.Object>)))
>     (invoke event-dao 'Work
> 	    param1
> 	    param2
> 	    param3)
>     event-dao))

If you can create a standalone test-case, that I can test without
com.mycompany.Object, then I can take a look at it.  I.e don't
tell me "com.mycompany.Object is a valid java object" - give me the
source for it.

> It seems that someone met the same here, and it is supposed to be
> fixed...http://sources.redhat.com/ml/kawa/2000/msg00353.html

It probably isn't related.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


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