juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JUNEAU-93) Use constructor argument names as bean property names.
Date Mon, 22 Apr 2019 01:17:00 GMT

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

James Bognar resolved JUNEAU-93.
--------------------------------
       Resolution: Fixed
         Assignee: James Bognar
    Fix Version/s: 8.0.1

> Use constructor argument names as bean property names.
> ------------------------------------------------------
>
>                 Key: JUNEAU-93
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-93
>             Project: Juneau
>          Issue Type: Improvement
>          Components: Code
>    Affects Versions: 7.2.2
>            Reporter: James Bognar
>            Assignee: James Bognar
>            Priority: Major
>             Fix For: 8.0.1
>
>
> Java 8 added a feature to persist method argument names in bytecode so that they are
available through reflection.  It's an optional compile-time flag that's disabled by default. 
Since it's disabled by default, we cannot rely on it for bean property names.  However, if
the feature is enabled, we can make the @BeanConstructor(properties) annotation optional.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message