[Android] Check for Java object types covariance in Java Bridge

ART does check covariance of types passed via JNI anyway, causing the VM to
crash if they doesn't. We'd better check this in Java Bridge and throw a
JavaScript exception, as LiveConnect spec suggests.

BUG=392489

Review URL: https://codereview.chromium.org/393733002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283457 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
mnaganov@chromium.org 2014-07-16 18:54:43 +00:00
Родитель b712e5e245
Коммит 7aa4897d7d
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -1,4 +1,3 @@
H C EC: Using pointer equality to compare a JavaBridgeCoercionTest$CustomType with a JavaBridgeCoercionTest$CustomType2 in org.chromium.content.browser.JavaBridgeCoercionTest.testPassJavaObject() At JavaBridgeCoercionTest.java
M C CSM: Shouldn't use synchronized method, please narrow down the synchronization scope. At JavaBridgeArrayCoercionTest.java
M C CSM: Shouldn't use synchronized method, please narrow down the synchronization scope. At JavaBridgeArrayTest.java
M C CSM: Shouldn't use synchronized method, please narrow down the synchronization scope. At JavaBridgeBasicsTest.java