Merge pull request #275 from mikehearn/prop-fix

Set a property that the LambdaWorks SCrypt library expects to be present
This commit is contained in:
Joel Dice 2014-06-05 13:37:47 -06:00
commit 975b1ddfd8

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);