X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=cacao.git;a=blobdiff_plain;f=src%2Fnative%2Fvm%2Freflection.cpp;h=bf954ca40feecd900705936423f5eb49e306eeb0;hp=0cc2d414450078414f4fb678b926fa4a792300f5;hb=00f70baa559d938988363d68f416f684760d92a2;hpb=ae82ad99e3a6280a3df05d8ce5fd39db38729d17 diff --git a/src/native/vm/reflection.cpp b/src/native/vm/reflection.cpp index 0cc2d4144..bf954ca40 100644 --- a/src/native/vm/reflection.cpp +++ b/src/native/vm/reflection.cpp @@ -1,6 +1,6 @@ /* src/native/vm/reflection.cpp - helper functions for java/lang/reflect - Copyright (C) 2007, 2008 + Copyright (C) 1996-2011 CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO This file is part of CACAO. @@ -218,9 +218,6 @@ java_handle_objectarray_t* Reflection::get_parameterannotations(java_handle_byte int32_t numParameters = method_get_parametercount(m); - if (numParameters < 0) - return NULL; - /* get ConstantPool */ java_handle_t* h = native_new_and_init(class_sun_reflect_ConstantPool);