Repository: tomee Updated Branches: refs/heads/master 4f10b751e -> e1853b10c
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/e1853b10 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/e1853b10 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/e1853b10 Branch: refs/heads/master Commit: e1853b10c52f72c7e9dd43c049098d7f69a43a49 Parents: 4f10b75 Author: Jonathan Gallimore <[email protected]> Authored: Tue Sep 25 11:42:54 2018 +0100 Committer: Jonathan Gallimore <[email protected]> Committed: Tue Sep 25 11:42:54 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/e1853b10/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]);
