Maven 2.x Clirr Plugin

CLONE -Don't fail the build if Checker#reportDiffs() throw net.sf.clirr.core.CheckerException

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.2.2
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

Sometimes, clirr fails due to bcel exception with nested classes:

net.sf.clirr.core.CheckerException: Unable to find information in class XXX referring back to nested class XXX$2

It should be better if the plugin doesn't but put an error.

Activity

Hide
Mike R. Haller added a comment -

Was unable to reopen the other issues, sorry for the cloning.

However, i've tested with clirr-maven-plugin-2.2.3-20090816.102331-6 and the problem is still there:

[ERROR] Unable to find information in class org.example.daf.common.beans.DefaultTypeConverter referring back to nested class org.example.daf.common.beans.DefaultTypeConverter$Option2List
[ERROR] Unable to find information in class org.example.daf.common.beans.DefaultTypeConverter referring back to nested class org.example.daf.common.beans.DefaultTypeConverter$Option2Set
[ERROR] Unable to find information in class org.example.mp.core.service.PdfRenderService referring back to nested class org.example.mp.core.service.PdfRenderService$1

Not sure if this is a clirr or a maven-clirr-plugin problem, but i expected to get something like

The nested class XYZ has been removed from org.example.mp.core.service.PdfRenderService in 2.0.0-SNAPSHOT compared to 1.0.0

Should this be reported to the clirr projecf instead?

Show
Mike R. Haller added a comment - Was unable to reopen the other issues, sorry for the cloning. However, i've tested with clirr-maven-plugin-2.2.3-20090816.102331-6 and the problem is still there:
[ERROR] Unable to find information in class org.example.daf.common.beans.DefaultTypeConverter referring back to nested class org.example.daf.common.beans.DefaultTypeConverter$Option2List
[ERROR] Unable to find information in class org.example.daf.common.beans.DefaultTypeConverter referring back to nested class org.example.daf.common.beans.DefaultTypeConverter$Option2Set
[ERROR] Unable to find information in class org.example.mp.core.service.PdfRenderService referring back to nested class org.example.mp.core.service.PdfRenderService$1
Not sure if this is a clirr or a maven-clirr-plugin problem, but i expected to get something like
The nested class XYZ has been removed from org.example.mp.core.service.PdfRenderService in 2.0.0-SNAPSHOT compared to 1.0.0
Should this be reported to the clirr projecf instead?
Hide
Taciano Tres added a comment -

I've the same problem, as reported in MCLIRR-19. Any hint?

Show
Taciano Tres added a comment - I've the same problem, as reported in MCLIRR-19. Any hint?

People

Vote (2)
Watch (3)

Dates

  • Created:
    Updated: