[ https://issues.apache.org/jira/browse/MNG-7910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated MNG-7910: --------------------------------- Fix Version/s: 4.0.0 > DefaultProfileSelector empty ctor uses immutable list > ----------------------------------------------------- > > Key: MNG-7910 > URL: https://issues.apache.org/jira/browse/MNG-7910 > Project: Maven > Issue Type: Bug > Components: Core > Affects Versions: 4.0.0-alpha-7 > Reporter: Tamas Cservenak > Assignee: Tamas Cservenak > Priority: Major > Fix For: 4.0.0-alpha-8, 4.0.0 > > > It uses immutable list and while it looks it allows, actually fails on > constructs like this: > {noformat} > new DefaultProfileSelector() > .addProfileActivator(new JdkVersionProfileActivator()) > .addProfileActivator(new PropertyProfileActivator()) > {noformat} > As default ctor creates immutable list, but API kinda suggests this is ok. -- This message was sent by Atlassian Jira (v8.20.10#820010)