|
|
60224f |
# HG changeset patch
|
|
|
60224f |
# User andrew
|
|
|
60224f |
# Date 1529475043 -3600
|
|
|
60224f |
# Wed Jun 20 07:10:43 2018 +0100
|
|
|
60224f |
# Node ID f6341f4635dacb56678264d29a88cd052b74036b
|
|
|
60224f |
# Parent 30520d5018b509b0ae68f5fcc9a5c540e3e5b2de
|
|
|
60224f |
PR3601: Fix additional -Wreturn-type issues introduced by 8061651
|
|
|
60224f |
|
|
|
60224f |
diff --git openjdk.orig/hotspot/src/share/vm/prims/jvm.cpp openjdk/hotspot/src/share/vm/prims/jvm.cpp
|
|
|
60224f |
--- openjdk.orig/hotspot/src/share/vm/prims/jvm.cpp
|
|
|
60224f |
+++ openjdk/hotspot/src/share/vm/prims/jvm.cpp
|
|
|
60224f |
@@ -835,7 +835,7 @@
|
|
|
60224f |
JVM_ENTRY(jboolean, JVM_KnownToNotExist(JNIEnv *env, jobject loader, const char *classname))
|
|
|
60224f |
JVMWrapper("JVM_KnownToNotExist");
|
|
|
60224f |
#if INCLUDE_CDS
|
|
|
60224f |
- return ClassLoaderExt::known_to_not_exist(env, loader, classname, CHECK_(false));
|
|
|
60224f |
+ return ClassLoaderExt::known_to_not_exist(env, loader, classname, THREAD);
|
|
|
60224f |
#else
|
|
|
60224f |
return false;
|
|
|
60224f |
#endif
|
|
|
60224f |
@@ -845,7 +845,7 @@
|
|
|
60224f |
JVM_ENTRY(jobjectArray, JVM_GetResourceLookupCacheURLs(JNIEnv *env, jobject loader))
|
|
|
60224f |
JVMWrapper("JVM_GetResourceLookupCacheURLs");
|
|
|
60224f |
#if INCLUDE_CDS
|
|
|
60224f |
- return ClassLoaderExt::get_lookup_cache_urls(env, loader, CHECK_NULL);
|
|
|
60224f |
+ return ClassLoaderExt::get_lookup_cache_urls(env, loader, THREAD);
|
|
|
60224f |
#else
|
|
|
60224f |
return NULL;
|
|
|
60224f |
#endif
|
|
|
60224f |
@@ -855,7 +855,7 @@
|
|
|
60224f |
JVM_ENTRY(jintArray, JVM_GetResourceLookupCache(JNIEnv *env, jobject loader, const char *resource_name))
|
|
|
60224f |
JVMWrapper("JVM_GetResourceLookupCache");
|
|
|
60224f |
#if INCLUDE_CDS
|
|
|
60224f |
- return ClassLoaderExt::get_lookup_cache(env, loader, resource_name, CHECK_NULL);
|
|
|
60224f |
+ return ClassLoaderExt::get_lookup_cache(env, loader, resource_name, THREAD);
|
|
|
60224f |
#else
|
|
|
60224f |
return NULL;
|
|
|
60224f |
#endif
|