myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (Updated) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Updated] (EXTVAL-132) DefaultValidationParameterFactory call to NullValueAwareConcurrentHashMap is considered ambiguous by Eclipse JDT compiler
Date Fri, 16 Dec 2011 13:06:30 GMT

     [ https://issues.apache.org/jira/browse/EXTVAL-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gerhard Petracek updated EXTVAL-132:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.5
                   2.0.5
         Assignee: Matt Benson
           Status: Resolved  (was: Patch Available)
    
> DefaultValidationParameterFactory call to NullValueAwareConcurrentHashMap is considered
ambiguous by Eclipse JDT compiler
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: EXTVAL-132
>                 URL: https://issues.apache.org/jira/browse/EXTVAL-132
>             Project: MyFaces Extensions Validator
>          Issue Type: Improvement
>            Reporter: Matt Benson
>            Assignee: Matt Benson
>             Fix For: 2.0.5, 1.2.5
>
>         Attachments: EXTVAL-132.patch.txt
>
>
> NVACHM provides (V) and (Class<V>) constructors.  When type parameters of the constructed
map are <Class, Class> and the constructor argument is a Class object the call is determined
ambiguous as the argument is both a V and a Class<V>.  The provided patch satisfies
the Eclipse compiler and works for both trunk and the -20 branch (it is assumed that it will
work in the -11 branch as well).  Don't shut out an entire IDE.  ;)

--
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

        

Mime
View raw message