commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@vafer.org>
Subject Re: [Javaflow] Weird ClassCastException and ClassNotFoundExceptions during build
Date Tue, 28 Jun 2011 20:35:58 GMT
It's a bit hidden...

https://svn.apache.org/repos/asf/commons/sandbox/javaflow/trunk/src/main/java/org/apache/commons/javaflow/ant/AntRewriteTask.java

...shows there is a "mode" attribute.

cheers,
Torsten

On Tue, Jun 28, 2011 at 20:09, Jeff Hair <knifed@gmail.com> wrote:
> Thanks for the references. One more thing: how do I enable the BCEL bytecode
> enhancing?
>
> On Mon, Jun 27, 2011 at 11:44 AM, Torsten Curdt <tcurdt@vafer.org> wrote:
>
>> Hey Jeff,
>>
>> > I will try your suggestions. In the meantime, can you point me to how I
>> > would go about converting this problem to a test case?
>>
>> did you already have a look at the current tests?
>>
>>
>> https://svn.apache.org/repos/asf/commons/sandbox/javaflow/trunk/src/test/java/org/apache/commons/javaflow/rewrite/
>>
>> > I'm not even sure if
>> > I can reproduce it yet. I haven't been able to identify what specifically
>> > caused the problem. My original coroutine prototype was using a <String,
>> > Continuation> map where the "yield statement" (a method call) would just
>> > yield to a continuation identified by a string name. I copied that logic
>> > verbatim, basically just changing the types. Of course, there's a lot
>> more
>> > going on in the interpreter, so it's probably something to do with that.
>>
>> I would start with a simple continuation testcase that works and then
>> modify towards your use case until it breaks.
>>
>> cheers,
>> Torsten
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>
>



-- 
http://www.yourdailygeekery.com
http://www.torstencurdt.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message