mirror of
https://github.com/corda/corda.git
synced 2025-06-14 05:08:18 +00:00
add VMClass changes
This commit is contained in:
committed by
Joshua Warner
parent
9b36dca846
commit
194e3b2701
@ -171,8 +171,8 @@ public final class Class <T> implements Type, AnnotatedElement {
|
||||
return SystemClassLoader.getClass(Classes.primitiveClass('D'));
|
||||
}
|
||||
|
||||
if (vmClass.staticTable == null) throw new AssertionError();
|
||||
return SystemClassLoader.getClass((VMClass) vmClass.staticTable);
|
||||
if (vmClass.arrayElementClass == null) throw new AssertionError();
|
||||
return SystemClassLoader.getClass((VMClass) vmClass.arrayElementClass);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user