title: Array of Object Array (2d arrays) JNI
body: <p>I'm struggling with creating a 2d array of my custom object type ShareStruct:</p>
  
  <pre><code>jobjectArray ret ;
  jobjectArray ins ;
  jobjectArray outs;
  
  jclass myClass = (*env)-&gt;FindClass(env,"org/apache/s4/core/ShareStruct");
  if (myClass==NULL) fprintf(stderr, "Class ShareStruct not found");
  
  jclass myClassArray = (*env)-&gt;FindClass(env, "[Lorg/apache/s4/core/ShareStruct");
  if (myClassArray==NULL) fprintf(stderr, "Class ShareStruct[] not found");
  
  ins = (*env)-&gt;NewObjectArray(env, in, myClass, NULL);
  outs = (*env)-&gt;NewObjectArray(env, out, myClass, NULL);
  ret = (*env)-&gt;NewObjectArray(env, 2, myClassArray, NULL);
  </code></pre>
  
  <p>The first class loading works (the ShareStruct is fine), but the other one (trying to load a ShareStruct[] class) doesn't. I've tried both with and without the L but no luck. Any ideas? I'm new with JNI.</p>
  
  <p>Thanks!</p>