Uploaded image for project: 'Juneau'
  1. Juneau
  2. JUNEAU-93

Use constructor argument names as bean property names.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.2.2
    • 8.1.0
    • Code
    • None

    Description

      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.

       

      Attachments

        Issue Links

          Activity

            People

              jamesbognar James Bognar
              jamesbognar James Bognar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: