axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5435) Axis2 BeanUtil doesn't appear to support is/has getter forms for fields.
Date Mon, 12 Nov 2012 17:45:14 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495444#comment-13495444
] 

Andreas Veithen commented on AXIS2-5435:
----------------------------------------

@Thomas: You are confusing two things, namely wrapper classes and autoboxing. Wrapper classes
have always existed in Java. As you have noted, the relevant portion of the Javabeans spec
only mentions the boolean primitive type, not the Boolean wrapper class. Since the introspector
in the JRE strictly adheres to that restriction, one can assume that the spec writers intentionally
excluded the Boolean wrapper class. Autoboxing refers to the ability of the compiler to generate
code to convert between primitive types and their corresponding wrapper classes. Why would
that feature introduced in Java 5 change the interpretation of the Javabeans spec?
                
> Axis2  BeanUtil doesn't appear to support is/has getter forms for fields.
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-5435
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5435
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.2
>         Environment: Windows 7 64. Java 1.7
>            Reporter: Thomas Valine
>              Labels: adb, databinding
>
> Binding POJO's having boolean getter methods of the form isBool, hasBool doesn't appear
to work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message