You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <fl...@gmail.com> on 2009/05/20 08:05:16 UTC

[COLLECTIONS] 3.3

Good news - I think 3.3 is ready to go out. Interested if anyone
thinks there are any JIRA items that should go in.

Bad news - Both Clirr and Jardiff fall over with the following error:

Unable to locate enclosing class
org.apache.commons.collections.DoubleOrderedMap$1 for nested class
org.apache.commons.collections.DoubleOrderedMap$1$1

Ugh.

The 'easy' answer of refactoring the class for the purposes of a clirr
run doesn't look too nice. It's an inner class for a reason. Another
option is to use my old method of comparison - a script that runs
javap on each jar and then diffs :)

Wondering if anyone has any thoughts, or has hit this before?

Hen

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


Re: [COLLECTIONS] 3.3

Posted by sebb <se...@gmail.com>.
On 20/05/2009, sebb <se...@gmail.com> wrote:
> On 20/05/2009, Henri Yandell <fl...@gmail.com> wrote:
>  > Good news - I think 3.3 is ready to go out. Interested if anyone
>  >  thinks there are any JIRA items that should go in.

Assuming that collections 3.3 is the one in trunk, I think the POM
should include the java source and target versions. At the moment it
defaults to the parent which is 1.3. Even if that is correct, it is
best if the project pom declares its intentions.

>  >  Bad news - Both Clirr and Jardiff fall over with the following error:
>  >
>  >  Unable to locate enclosing class
>  >  org.apache.commons.collections.DoubleOrderedMap$1 for nested class
>  >  org.apache.commons.collections.DoubleOrderedMap$1$1
>  >
>  >  Ugh.
>  >
>  >  The 'easy' answer of refactoring the class for the purposes of a clirr
>  >  run doesn't look too nice. It's an inner class for a reason. Another
>  >  option is to use my old method of comparison - a script that runs
>  >  javap on each jar and then diffs :)
>  >
>  >  Wondering if anyone has any thoughts, or has hit this before?
>
>
> Just edit the jars to remove the offending class, and check that class
>  by hand if necessary.
>
>
>  >  Hen
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  >  For additional commands, e-mail: dev-help@commons.apache.org
>  >
>  >
>

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


Re: [COLLECTIONS] 3.3

Posted by Henri Yandell <fl...@gmail.com>.
On Wed, May 20, 2009 at 3:51 AM, sebb <se...@gmail.com> wrote:
> On 20/05/2009, Henri Yandell <fl...@gmail.com> wrote:
>> Good news - I think 3.3 is ready to go out. Interested if anyone
>>  thinks there are any JIRA items that should go in.
>>
>>  Bad news - Both Clirr and Jardiff fall over with the following error:
>>
>>  Unable to locate enclosing class
>>  org.apache.commons.collections.DoubleOrderedMap$1 for nested class
>>  org.apache.commons.collections.DoubleOrderedMap$1$1
>>
>>  Ugh.
>>
>>  The 'easy' answer of refactoring the class for the purposes of a clirr
>>  run doesn't look too nice. It's an inner class for a reason. Another
>>  option is to use my old method of comparison - a script that runs
>>  javap on each jar and then diffs :)
>>
>>  Wondering if anyone has any thoughts, or has hit this before?
>
> Just edit the jars to remove the offending class, and check that class
> by hand if necessary.

Nice solution :) Will give it a shot tonight.

Thanks,

Hen

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


Re: [COLLECTIONS] 3.3

Posted by sebb <se...@gmail.com>.
On 20/05/2009, Henri Yandell <fl...@gmail.com> wrote:
> Good news - I think 3.3 is ready to go out. Interested if anyone
>  thinks there are any JIRA items that should go in.
>
>  Bad news - Both Clirr and Jardiff fall over with the following error:
>
>  Unable to locate enclosing class
>  org.apache.commons.collections.DoubleOrderedMap$1 for nested class
>  org.apache.commons.collections.DoubleOrderedMap$1$1
>
>  Ugh.
>
>  The 'easy' answer of refactoring the class for the purposes of a clirr
>  run doesn't look too nice. It's an inner class for a reason. Another
>  option is to use my old method of comparison - a script that runs
>  javap on each jar and then diffs :)
>
>  Wondering if anyone has any thoughts, or has hit this before?

Just edit the jars to remove the offending class, and check that class
by hand if necessary.

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

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