cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: missing mocks for jms blocks ?
Date Tue, 21 Oct 2003 15:32:29 GMT
Michael Hartle wrote:

> Sylvain Wallez wrote:
>> Michael Hartle wrote:
>>> Just a question, those mock classes, are they created manually or do 
>>> you already use some tool to generate them ?
>> In order to be compliant with the licence, they should 
>> _theroretically_ be written by hand from a publicly available 
>> information such as the javadoc on
> you accidentially have a pointer regarding this license 
> limitation imposed by Sun ? Theoretically, a good manual mock 
> implementation would not differ from an auto-generated one, or am I 
> mistaken ? 

Go to then click on the 
"continue" button below "Download the version 1.1 API..." and read 
section 2 of the licence: "you may not modify, decompile, or reverse 
engineer Software".

Auto-generating mocks from a jar file definitely looks like reverse 

Now you're right that hand-written mocks should not be very different 
from those produced by a reflection-based generator. And adding a bit of 
method order shuffling would even make it more handwritten ;-)


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -

View raw message