You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "cstamas (via GitHub)" <gi...@apache.org> on 2025/01/22 13:13:33 UTC

[PR] [MNG-8536] Use JDK methods to copy Map/List [maven]

cstamas opened a new pull request, #2056:
URL: https://github.com/apache/maven/pull/2056

   Drop the ImmutableCollections and use JDK
   Map/List copyOf() method instead.
   
   ---
   
   https://issues.apache.org/jira/browse/MNG-8536
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [MNG-8536] Use JDK methods to copy Map/List [maven]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on PR #2056:
URL: https://github.com/apache/maven/pull/2056#issuecomment-2608217060

   This now causes OutOfMemory errors.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [MNG-8536] Use JDK methods to copy Map/List [maven]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet closed pull request #2056: [MNG-8536] Use JDK methods to copy Map/List
URL: https://github.com/apache/maven/pull/2056


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [MNG-8536] Use JDK methods to copy Map/List [maven]

Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas commented on PR #2056:
URL: https://github.com/apache/maven/pull/2056#issuecomment-2607257170

   Seems the dropped `ImmutableCollections.copy(Map)` method uses own `MapN` implementation that did preserve copied map ordering, hence, `Map.copyOf` is not a simple drop-in replacement...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org