Follow up ... forgot a file
Fix FELIX-3621
Correct computation of multi-dimension array:
- method id computation
- right arguments in the method metadata (element)
- add tests
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1387916 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/manipulator/manipulator/src/test/java/test/DoubleArray.java b/ipojo/manipulator/manipulator/src/test/java/test/DoubleArray.java
new file mode 100644
index 0000000..811ff82
--- /dev/null
+++ b/ipojo/manipulator/manipulator/src/test/java/test/DoubleArray.java
@@ -0,0 +1,25 @@
+package test;
+
+/**
+ * Checks a component with a double array
+ * To reproduce https://issues.apache.org/jira/browse/FELIX-3621
+ */
+public class DoubleArray {
+
+ public boolean start() {
+ System.out.println("Start");
+
+ int[][] matrix = new int[20][20];
+
+ this.testArray(matrix);
+
+ matrix[0][0] = 2;
+ return true;
+ }
+
+ private void testArray(int[][] matrix) {
+ System.out.println("Test Array");
+ }
+
+
+}