提交 95520aae 编写于 作者: C coleenp

8150012: Better byte behavior for reflection

Reviewed-by: kvn, jrose, kevinw, ahgross
上级 8bb48a1f
......@@ -96,7 +96,7 @@ class typeArrayOopDesc : public arrayOopDesc {
void byte_at_put(int which, jbyte contents) { *byte_at_addr(which) = contents; }
jboolean bool_at(int which) const { return *bool_at_addr(which); }
void bool_at_put(int which, jboolean contents) { *bool_at_addr(which) = contents; }
void bool_at_put(int which, jboolean contents) { *bool_at_addr(which) = (((jint)contents) & 1); }
jchar char_at(int which) const { return *char_at_addr(which); }
void char_at_put(int which, jchar contents) { *char_at_addr(which) = contents; }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册