Eric Chauvin created WW-3812:
--------------------------------

             Summary: UnsupportedOperation exception in 
org.apache.struts2.views.util.DefaultUrlHelper
                 Key: WW-3812
                 URL: https://issues.apache.org/jira/browse/WW-3812
             Project: Struts 2
          Issue Type: Bug
          Components: Core Actions
    Affects Versions: 2.3.3
         Environment: org.apache.struts2.views.util.DefaultUrlHelper line 
311/312
            Reporter: Eric Chauvin
            Priority: Critical


Arrays.asList return one implementation of List which cannot handle add 
operation

commit : 1303298
{code:java}
311 : List<String> paramList = Arrays.asList(currentParamValues);
312 : paramList.add(translatedParamValue);
{code}

commit : 1302803
{code:java}
311 : List<String> paramList = new ArrayList(Arrays.asList(currentParamValues));
312 : paramList.add(translatedParamValue);
{code}




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to