You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "Ayeshmantha (JIRA)" <ji...@apache.org> on 2018/12/02 16:40:00 UTC
[jira] [Comment Edited] (JUNEAU-93) Use constructor argument names
as bean property names.
[ https://issues.apache.org/jira/browse/JUNEAU-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16706387#comment-16706387 ]
Ayeshmantha edited comment on JUNEAU-93 at 12/2/18 4:39 PM:
------------------------------------------------------------
Hi [~jamesbognar] got it working for testCompilerArgument and {{compilerArgs by modifying maven-compiler-plugin.I added sample methods and tested on both }}
was (Author: ayesh):
Hi James got it working for testCompilerArgument and {{compilerArgs by modifying maven-compiler-plugin}}
> 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
> Priority: Major
>
> 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)