mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
This commit is contained in:
commit
1a2eb3836c
@ -45,8 +45,8 @@ public class Properties extends Hashtable {
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setProperty(String key, String value) {
|
public Object setProperty(String key, String value) {
|
||||||
put(key, value);
|
return put(key, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class Parser {
|
private static class Parser {
|
||||||
|
@ -1150,7 +1150,7 @@ Avian_java_lang_Runtime_exit
|
|||||||
{
|
{
|
||||||
shutDown(t);
|
shutDown(t);
|
||||||
|
|
||||||
t->m->system->exit(*arguments);
|
t->m->system->exit(arguments[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" JNIEXPORT int64_t JNICALL
|
extern "C" JNIEXPORT int64_t JNICALL
|
||||||
|
@ -1818,6 +1818,7 @@ makeArrayClass(Thread* t, object loader, unsigned dimensions, object spec,
|
|||||||
object
|
object
|
||||||
makeArrayClass(Thread* t, object loader, object spec)
|
makeArrayClass(Thread* t, object loader, object spec)
|
||||||
{
|
{
|
||||||
|
PROTECT(t, loader);
|
||||||
PROTECT(t, spec);
|
PROTECT(t, spec);
|
||||||
|
|
||||||
const char* s = reinterpret_cast<const char*>(&byteArrayBody(t, spec, 0));
|
const char* s = reinterpret_cast<const char*>(&byteArrayBody(t, spec, 0));
|
||||||
@ -3752,8 +3753,6 @@ runJavaThread(Thread* t)
|
|||||||
void
|
void
|
||||||
runFinalizeThread(Thread* t)
|
runFinalizeThread(Thread* t)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "run finalize thread\n");
|
|
||||||
|
|
||||||
setDaemon(t, t->javaThread, true);
|
setDaemon(t, t->javaThread, true);
|
||||||
|
|
||||||
object list = 0;
|
object list = 0;
|
||||||
@ -3768,8 +3767,6 @@ runFinalizeThread(Thread* t)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (t->m->finalizeThread == 0) {
|
if (t->m->finalizeThread == 0) {
|
||||||
fprintf(stderr, "exit finalize thread\n");
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
list = t->m->objectsToFinalize;
|
list = t->m->objectsToFinalize;
|
||||||
|
Loading…
Reference in New Issue
Block a user