Dear all developers,
JamVM+GNU ClassPath is now JRE for OpenWRT, but GNU ClassPath is only support JAVA1.5 and some 1.6/1.7 feature. JamVM is compatible with the class-library from OpenJDK 6, 7 and 8 (the latest), Why not add one more choice for OpenJDK support?
Debian is support OpenJDK, The JVM used OpenJDK hotspot(zero VM), It's running very slowly. I had already run JamVM+OpenJDK8 on MIPS32 Big-Endian, but JamVM VM is not support OpenJDK Security layer, some of function provide for OpenJDK is not Implment. like these below, Is anyone know how to implement these functions?
/* JVM_GetInheritedAccessControlContext */
jobject JVM_GetInheritedAccessControlContext(JNIEnv *env, jclass cls) {
UNIMPLEMENTED("JVM_GetInheritedAccessControlContext");
return NULL;
}
/* JVM_GetStackAccessControlContext */
jobject JVM_GetStackAccessControlContext(JNIEnv *env, jclass cls) {
IGNORED("GetStackAccessControlContext(env=%p, cls=%p)", env, cls);
/* XXX All stuff I tested so far works without that function. At
some point we have to implement it, but I disable the output
for now to make IcedTea happy. */
return NULL;
}
I have rewrite this function and can solve OpenJDK Security issue.
(Last edited by win847 on 12 Aug 2016, 06:53)