/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#include "ArrayTypeImpl.h"
#include "util.h"
#include "inStream.h"
#include "outStream.h"
/*
* Determine the component class by looking thru all classes for
* one that has the signature of the component and the same class loadeer
* as the array. See JVM spec 5.3.3:
* If the component type is a reference type, C is marked as having
* been defined by the defining class loader of the component type.
*/
static jdwpError
{
if (error != JVMTI_ERROR_NONE) {
return map2jdwpError(error);
}
if (error != JVMTI_ERROR_NONE) {
} else {
int i;
/* signature must match */
if (error != JVMTI_ERROR_NONE) {
break;
}
/* if signature matches, get class loader to check if
* it matches
*/
if (match) {
if (error != JVMTI_ERROR_NONE) {
return map2jdwpError(error);
}
}
if (match) {
}
}
}
/* per JVM spec, component class is always loaded
* before array class, so this should never occur.
*/
}
return serror;
}
static void
{
} else {
}
} else {
}
}
}
static void
{
switch (componentSignature[0]) {
break;
break;
break;
break;
break;
break;
break;
break;
default:
break;
}
}
} else {
}
}
static jboolean
{
char *componentSignature;
if (inStream_error(in)) {
return JNI_TRUE;
}
if (inStream_error(in)) {
return JNI_TRUE;
}
if ( error != JVMTI_ERROR_NONE ) {
return JNI_FALSE;
}
} else {
}
return JNI_TRUE;
}
,(void *)newInstance};