]
Richard Midwinter commented on BVAL-243:
----------------------------------------
Looks like work on a JDK8 solution for accessing parameter names at runtime is due to
start as early as Q1 2012:
Provide a means for specifying method parameter names
-----------------------------------------------------
Key: BVAL-243
URL:
http://opensource.atlassian.com/projects/hibernate/browse/BVAL-243
Project: Bean Validation
Issue Type: Sub-task
Components: spec-general
Reporter: Gunnar Morling
Fix For: 1.1
Emmanuel wrote:
{quote}
On named parameters we have three strategies I think:
- not address the problem at all and use positional parameters to see what comes up JDK
8's hat (named parameters might not be represented as strings but rather as a typed
object)
- not address the problem in the specification but leave the API open enough for a
provider to offer a named parameter friendly API
- address the problem within the spec (the interface approach seems elegant) hoping for
the named parameter to be represented as a String in JDK 8
I tend to like param0, param1 etc rather than arg0, arg1 but that's aesthetic.
{quote}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: