Coercion from primitive types to wrapper classes?
-------------------------------------------------

                 Key: TAP5-715
                 URL: https://issues.apache.org/jira/browse/TAP5-715
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-ioc
    Affects Versions: 5.1.0.5
            Reporter: Lukasz Jazgar
            Priority: Minor



I checked 2 cases:

typeCoercer.explain(boolean.class, Boolean.class)
returns
Object --> String, String --> Boolean

typeCoercer.explain(int.class, Integer.class)
returns
Number --> Long, Long --> Integer

Strange.
Shouldn't TypeCoercer cast directly to wrapper classes?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to