On Tuesday 23 January 2007 17:19, Joerg Hohwiller wrote:
> Anyways I experienced slightly differences of JDK6 when dealing with XML
> (e.g. XmlUnits fail with JDK6 that work with any JDK <= 5, might be a bug
> in JAVA6) and also when using collections (iterator orderung of unordered
> collections changed, but this one is NOT a bug).

I think the collections change is what is causing the problem.    Thanks for 
pointing that out.   The order of transforms that are run in the artifact 
manager is different with 1.6 than 1.5.   I THINK plexus builds up the 
ArrayList from an unorderred map of some sort (I know very little about 
plexus) so the order is different.

I logged a bug:
http://jira.codehaus.org/browse/MNG-2793
and attached a "hackish" patch.

Note that my problem only occurs with SNAPSHOT plugin repositories.   If your 
build doesn't use snapshots, there won't be a problem.   Also, if you already 
have the artifacts downloaded to your local repository (example: from a jdk 
1.5 build), all is OK.


-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to