OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.jni/] [pr23739.c] - Rev 790

Go to most recent revision | Compare with Previous | Blame | View Log

#include <stdio.h>
#include "pr23739.h"
 
JNIEXPORT void JNICALL
Java_pr23739_checkOrder (JNIEnv *env, jclass cls, jclass clazz1, jclass clazz2)
{
  printf ("B extends A\n");
  printf ("isAssignableFrom (A, B): %d\n",
          (*env)->IsAssignableFrom (env, clazz1, clazz2));
  printf ("isAssignableFrom (B, A): %d\n",
          (*env)->IsAssignableFrom (env, clazz2, clazz1));
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.