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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.jni/] [pr29812_injar.c] - Blame information for rev 776

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

Line No. Rev Author Line
1 765 jeremybenn
 
2
#include <stdlib.h>
3
#include <assert.h>
4
#include <pr29812_injar.h>
5
 
6
JNIEXPORT jint JNICALL
7
JNI_OnLoad (JavaVM *vm, void *nothing)
8
{
9
  JNIEnv *env;
10
  jint r;
11
  jclass k;
12
 
13
  r = (*vm)->GetEnv (vm, (void **) &env, JNI_VERSION_1_2);
14
  assert (r == JNI_OK);
15
  k = (*env)->FindClass (env, "pr29812_injar$inner");
16
  assert (k != NULL);
17
 
18
  return JNI_VERSION_1_2;
19
}
20
 
21
void
22
Java_pr29812_1injar_doit (JNIEnv *env, jclass b)
23
{
24
  jclass k = (*env)->FindClass(env, "pr29812_injar$inner");
25
  assert (k != NULL);
26
}

powered by: WebSVN 2.1.0

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