Repository: tomee Updated Branches: refs/heads/tomee-7.1.x 4a396c311 -> 9da12137b
TOMEE-2245 fix incorrect collection to array conversion Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/9da12137 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/9da12137 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/9da12137 Branch: refs/heads/tomee-7.1.x Commit: 9da12137b3d1bf62ccaaf3dc66cd1d8bf3f8c428 Parents: 4a396c3 Author: Jonathan Gallimore <[email protected]> Authored: Tue Sep 25 11:42:54 2018 +0100 Committer: Jonathan Gallimore <[email protected]> Committed: Tue Sep 25 11:44:49 2018 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/9da12137/container/openejb-core/src/main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java ---------------------------------------------------------------------- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java b/container/openejb-core/src/main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java index 70367f86..12004a7 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java @@ -99,7 +99,7 @@ public class MBeanPojoWrapper implements DynamicMBean { // default constructor is mandatory info = new MBeanInfo(name, "Auto-created by OpenEJB", - mBeanAttributeInfoList.toArray(new MBeanAttributeInfo[attributeMap.size()]), + mBeanAttributeInfoList.toArray(new MBeanAttributeInfo[mBeanAttributeInfoList.size()]), null, // default constructor is mandatory new MBeanOperationInfo[0], new MBeanNotificationInfo[0]);
