< prev index next >

test/jdk/java/foreign/enablenativeaccess/org/openjdk/foreigntest/unnamed/libLinkerInvokerUnnamed.cpp

Print this page
*** 34,11 ***
      jvm->DetachCurrentThread();
  }
  
  extern "C" {
      JNIEXPORT void JNICALL
!     Java_org_openjdk_foreigntest_PanamaMainUnnamedModule_nativeLinker0(JNIEnv *env, jclass cls) {
          JavaVM* jvm;
          env->GetJavaVM(&jvm);
          run_in_new_thread_and_join(call, jvm);
      }
  }
--- 34,11 ---
      jvm->DetachCurrentThread();
  }
  
  extern "C" {
      JNIEXPORT void JNICALL
!     Java_org_openjdk_foreigntest_unnamed_PanamaMainUnnamedModule_nativeLinker0(JNIEnv *env, jclass cls) {
          JavaVM* jvm;
          env->GetJavaVM(&jvm);
          run_in_new_thread_and_join(call, jvm);
      }
  }
< prev index next >