[ 
http://jira.codehaus.org/browse/QDOX-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Hammant closed QDOX-180.
-----------------------------


> Different interpretation of voids primitivity between QDox and Java reflection
> ------------------------------------------------------------------------------
>
>                 Key: QDOX-180
>                 URL: http://jira.codehaus.org/browse/QDOX-180
>             Project: QDox
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 1.10
>            Reporter: Antti Karanta
>            Assignee: Robert Scholte
>            Priority: Minor
>             Fix For: 1.10.1
>
>
> The QDox Type object for java type void returns false for isPrimitive() 
> whereas in java void.class.isPrimitive() is true.
> I think Java reflection APIs interpretation of void being a primitive type is 
> weird if not outright wrong. But be that as it may, I think this difference 
> between interpretations of this issue should be mentioned in the javadoc of 
> Type.isPrimitive(). Alternatively Type object for void could return true for 
> isPrimitive() for void to be consistent with Java reflection's interpretation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to