mirror of
https://github.com/corda/corda.git
synced 2025-01-09 22:42:40 +00:00
Merge branch 'master' of oss:/var/local/git/avian into dynamic
This commit is contained in:
commit
d5b0cbb543
@ -376,6 +376,10 @@ public final class Class <T> {
|
|||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isInterface() {
|
||||||
|
return (flags & Modifier.INTERFACE) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
public Class getSuperclass() {
|
public Class getSuperclass() {
|
||||||
return super_;
|
return super_;
|
||||||
}
|
}
|
||||||
|
@ -33,4 +33,6 @@ public final class Modifier {
|
|||||||
public static boolean isStatic (int v) { return (v & STATIC) != 0; }
|
public static boolean isStatic (int v) { return (v & STATIC) != 0; }
|
||||||
public static boolean isFinal (int v) { return (v & FINAL) != 0; }
|
public static boolean isFinal (int v) { return (v & FINAL) != 0; }
|
||||||
public static boolean isSuper (int v) { return (v & SUPER) != 0; }
|
public static boolean isSuper (int v) { return (v & SUPER) != 0; }
|
||||||
|
public static boolean isNative (int v) { return (v & NATIVE) != 0; }
|
||||||
|
public static boolean isAbstract (int v) { return (v & ABSTRACT) != 0; }
|
||||||
}
|
}
|
||||||
|
@ -1805,9 +1805,13 @@ GetJavaVM(Thread* t, Machine** m)
|
|||||||
jboolean JNICALL
|
jboolean JNICALL
|
||||||
IsSameObject(Thread* t, jobject a, jobject b)
|
IsSameObject(Thread* t, jobject a, jobject b)
|
||||||
{
|
{
|
||||||
|
if (a and b) {
|
||||||
ENTER(t, Thread::ActiveState);
|
ENTER(t, Thread::ActiveState);
|
||||||
|
|
||||||
return *a == *b;
|
return *a == *b;
|
||||||
|
} else {
|
||||||
|
return a == b;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct JDK1_1InitArgs {
|
struct JDK1_1InitArgs {
|
||||||
|
Loading…
Reference in New Issue
Block a user