提交 4dbc17b4 编写于 作者: J jrose

7194612:...

7194612: api/java_lang/invoke/MethodHandles/Lookup/index.html#ExceptionsTests[findVirtualNSME] fails w/ -esa
Reviewed-by: kvn, twisti
上级 9afe3461
......@@ -306,12 +306,6 @@ import java.util.Objects;
return this;
}
private void setFlags(int flags) {
this.flags = flags;
assert(testAnyFlags(ALL_KINDS));
assert(referenceKindIsConsistent());
}
private boolean testFlags(int mask, int value) {
return (flags & mask) == value;
}
......@@ -452,8 +446,10 @@ import java.util.Objects;
this.clazz = defClass;
this.name = name;
this.type = type;
setFlags(flags);
this.flags = flags;
assert(testAnyFlags(ALL_KINDS));
assert(this.resolution == null); // nobody should have touched this yet
//assert(referenceKindIsConsistent()); // do this after resolution
}
private void expandFromVM() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册