On Wed, Oct 26, 2011 at 1:49 PM, Martin Grigorov <[email protected]> wrote:
> On Wed, Oct 26, 2011 at 1:20 PM, Sebastian <[email protected]> wrote:
>>> Do you know of some static analyzer that can check API/ABI breaks
>>> between two .jars ?
>>
>> How about clirr? http://mojo.codehaus.org/clirr-maven-plugin/

Nice. Works like a charm!

[ERROR] org.apache.wicket.resource.aggregation.ResourceReferenceAndStringData:
Parameter 1 of 'public
ResourceReferenceAndStringData(org.apache.wicket.request.resource.ResourceReference,
java.lang.String, boolean)' has changed its type to
java.lang.CharSequence
[ERROR] org.apache.wicket.resource.aggregation.ResourceReferenceAndStringData:
Parameter 2 of 'public
ResourceReferenceAndStringData(org.apache.wicket.request.resource.ResourceReference,
java.lang.String, boolean)' has changed its type to boolean
[ERROR] org.apache.wicket.resource.aggregation.ResourceReferenceAndStringData:
Parameter 3 of 'public
ResourceReferenceAndStringData(org.apache.wicket.request.resource.ResourceReference,
java.lang.String, boolean)' has changed its type to java.lang.String
[ERROR] org.apache.wicket.resource.aggregation.ResourceReferenceAndStringData:
Method 'public java.lang.String getString()' has been removed
[ERROR] org.apache.wicket.settings.IExceptionSettings: Method 'public
boolean getDumpThreadTraces()' has been added to an interface
[ERROR] org.apache.wicket.settings.IExceptionSettings: Method 'public
void setDumpThreadsTraces(boolean)' has been added to an interface

And it seems it works quite fast. It took it 7secs to check -util,
-request and -core and then it failed locally.
We can enable it by default. The error in IExceptionSettings is false
positive, this interface is not supposed to be used by the client
apps. And the plugin supports exclusions.

>
> Thanks!
> I'll check it.
>
> I wrote a short shell script that almost does the job.
> I'll polish it and commit it in SVN testing/ folder.
>
>>
>> Regards,
>>
>> Seb
>>
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

Reply via email to