summaryrefslogtreecommitdiff
path: root/runtime/class_linker_test.cc
diff options
context:
space:
mode:
author Narayan Kamath <narayan@google.com> 2016-11-02 18:47:11 +0000
committer Narayan Kamath <narayan@google.com> 2016-11-03 15:13:00 +0000
commit0a8485ef5cb81746625fe57acf8adfd8b2bb28c0 (patch)
treee0d5384ad9b9ffcb549c0332a177d650614a6d3d /runtime/class_linker_test.cc
parente5eb574f4c5c5afb7deb0c49d7f9eca2062347f5 (diff)
MethodHandles: Implement MethodHandle.asType.
Tracks libcore change 16fa583fb5ee489. Test: make test-art-host Bug: 30550796 Change-Id: I2457b563f67a183c4eebf94ddbe74cc55f772ee0
Diffstat (limited to 'runtime/class_linker_test.cc')
-rw-r--r--runtime/class_linker_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_linker_test.cc b/runtime/class_linker_test.cc
index 7a3ebad082..ab2d9d0a95 100644
--- a/runtime/class_linker_test.cc
+++ b/runtime/class_linker_test.cc
@@ -742,8 +742,8 @@ struct MethodHandleImplOffsets : public CheckOffsets<mirror::MethodHandleImpl> {
MethodHandleImplOffsets() : CheckOffsets<mirror::MethodHandleImpl>(
false, "Ljava/lang/invoke/MethodHandle;") {
addOffset(OFFSETOF_MEMBER(mirror::MethodHandleImpl, art_field_or_method_), "artFieldOrMethod");
- addOffset(OFFSETOF_MEMBER(mirror::MethodHandleImpl, as_type_cache_), "asTypeCache");
addOffset(OFFSETOF_MEMBER(mirror::MethodHandleImpl, handle_kind_), "handleKind");
+ addOffset(OFFSETOF_MEMBER(mirror::MethodHandleImpl, nominal_type_), "nominalType");
addOffset(OFFSETOF_MEMBER(mirror::MethodHandleImpl, method_type_), "type");
}
};