OSDN Git Service

Make JNI work correctly with default methods.
authorAlex Light <allight@google.com>
Mon, 22 Feb 2016 21:43:29 +0000 (13:43 -0800)
committerAlex Light <allight@google.com>
Tue, 23 Feb 2016 21:24:05 +0000 (13:24 -0800)
commit3612149aee482ab7a17da68b0ef5fef3879729a2
tree42180a35266333cbf37163a12185cf8824255a71
parenta5502e31cb558c6e257d1dd1889c073a793e3d9d
Make JNI work correctly with default methods.

Also adds some tests for JNI and DefaultMethods.

Bug: 27259142
Bug: 24618811

Change-Id: I31222e3e41059d803be1dbb0f40e1144ac4bf457
15 files changed:
compiler/driver/compiler_driver.cc
compiler/image_writer.cc
compiler/oat_test.cc
runtime/art_method.h
runtime/class_linker.cc
runtime/class_linker_test.cc
runtime/mirror/class-inl.h
runtime/modifiers.h
test/004-JniTest/expected.txt
test/004-JniTest/jni_test.cc
test/004-JniTest/smali/AbstractInterface.smali [new file with mode: 0644]
test/004-JniTest/smali/ConcreteClass.smali [new file with mode: 0644]
test/004-JniTest/smali/ConflictInterface.smali [new file with mode: 0644]
test/004-JniTest/smali/DefaultInterface.smali [new file with mode: 0644]
test/004-JniTest/src/Main.java