Set a property that the LambdaWorks SCrypt library expects to be present.

This commit is contained in:
Mike Hearn 2014-06-05 21:29:58 +08:00
parent 86648ea054
commit 87125874b5

View File

@ -2968,6 +2968,8 @@ jvmInitProperties(Thread* t, uintptr_t* arguments)
local::setProperty(t, method, *properties, "java.vm.info",AVIAN_INFO);
#endif
local::setProperty(t, method, *properties, "java.vm.specification.name", "Java Virtual Machine Specification");
local::setProperty
(t, method, *properties, "java.home",
static_cast<local::MyClasspath*>(t->m->classpath)->javaHome);