You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matt Benson (JIRA)" <de...@myfaces.apache.org> on 2011/05/19 00:18:47 UTC

[jira] [Created] (EXTVAL-132) DefaultValidationParameterFactory call to NullValueAwareConcurrentHashMap is considered ambiguous by Eclipse JDT compiler

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
         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (EXTVAL-132) DefaultValidationParameterFactory call to NullValueAwareConcurrentHashMap is considered ambiguous by Eclipse JDT compiler

Posted by "Gerhard Petracek (Updated) (JIRA)" <de...@myfaces.apache.org>.
     [ 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

        

[jira] [Updated] (EXTVAL-132) DefaultValidationParameterFactory call to NullValueAwareConcurrentHashMap is considered ambiguous by Eclipse JDT compiler

Posted by "Matt Benson (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTVAL-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Benson updated EXTVAL-132:
-------------------------------

    Status: Patch Available  (was: Open)

> 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
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira