]
Dan Allen reassigned ARQ-169:
-----------------------------
Assignee: Dan Allen
XmlConfiguration should use setter methods to assign configuration
properties
------------------------------------------------------------------------------
Key: ARQ-169
URL:
https://jira.jboss.org/browse/ARQ-169
Project: Arquillian
Issue Type: Bug
Components: Configuration
Affects Versions: 1.0.0.Alpha2
Reporter: Dan Allen
Assignee: Dan Allen
Fix For: 1.0.0.Alpha3
Attachments: ARQ-169-patch.txt
Currently, XmlConfiguration is using the method Class#getDeclaredField(String) to find
the field that matches the configuration property. For one, this breaks if the field is
inherited from a base class. But rather than scanning through the inheritance hierarchy,
XmlConfiguration should be looking for a public setter field that corresponds to the
property name. For example:
httpPort --> setHttpPort()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: