mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
add JVM_GetResourceLookupCacheURLs
This improves support for building with openjdk=$jdk8. Note, however, that the Processes test does not pass, since JDK 8's java.lang.UNIXProcess uses invokedynamic, which Avian does not yet support.
This commit is contained in:
parent
6c7ff9874e
commit
dc7e68708f
@ -159,6 +159,7 @@ SUNWprivate_1.1 {
|
||||
JVM_GetMethodParameterAnnotations;
|
||||
JVM_GetPrimitiveArrayElement;
|
||||
JVM_GetProtectionDomain;
|
||||
JVM_GetResourceLookupCacheURLs;
|
||||
JVM_GetSockName;
|
||||
JVM_GetSockOpt;
|
||||
JVM_GetStackAccessControlContext;
|
||||
@ -291,4 +292,3 @@ SUNWprivate_1.1 {
|
||||
# This is for Forte Analyzer profiling support.
|
||||
AsyncGetCallTrace;
|
||||
};
|
||||
|
||||
|
@ -441,6 +441,11 @@ class MyClasspath : public Classpath {
|
||||
setObjectClass(t, c, type(t, GcJclass::Type));
|
||||
c->setName(t, name);
|
||||
c->setVmClass(t, class_);
|
||||
#ifdef HAVE_JclassClassLoader
|
||||
if (class_->loader() != roots(t)->bootLoader()) {
|
||||
c->setClassLoader(t, class_->loader());
|
||||
}
|
||||
#endif
|
||||
|
||||
return c;
|
||||
}
|
||||
@ -4564,6 +4569,12 @@ extern "C" AVIAN_EXPORT jobject JNICALL
|
||||
return reinterpret_cast<jobject>(run(t, jvmGetProtectionDomain, arguments));
|
||||
}
|
||||
|
||||
extern "C" AVIAN_EXPORT jobject JNICALL
|
||||
EXPORT(JVM_GetResourceLookupCacheURLs)(Thread*, jobject)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern "C" AVIAN_EXPORT void JNICALL
|
||||
EXPORT(JVM_SetProtectionDomain)(Thread*, jclass, jobject)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user