diff --git a/src/classpath-openjdk.cpp b/src/classpath-openjdk.cpp index 4ec3c3c423..3a37a74d1c 100644 --- a/src/classpath-openjdk.cpp +++ b/src/classpath-openjdk.cpp @@ -2400,20 +2400,20 @@ object makeJmethod(Thread* t, 0, 0, declaredAnnotations, - clazz, + cast(t, clazz), slot, - name, - returnType, + cast(t, name), + cast(t, returnType), parameterTypes, exceptionTypes, modifiers, - signature, + cast(t, signature), genericInfo, - annotations, - parameterAnnotations, - annotationDefault, + cast(t, annotations), + cast(t, parameterAnnotations), + cast(t, annotationDefault), methodAccessor, - root); + cast(t, root)); } object makeJconstructor(Thread* t, @@ -2438,17 +2438,17 @@ object makeJconstructor(Thread* t, 0, 0, declaredAnnotations, - clazz, + cast(t, clazz), slot, parameterTypes, exceptionTypes, modifiers, - signature, + cast(t, signature), genericInfo, - annotations, - parameterAnnotations, + cast(t, annotations), + cast(t, parameterAnnotations), constructorAccessor, - root); + cast(t, root)); } #endif // HAVE_JexecutableHasRealParameterData