Chromium Code Reviews
DescriptionFix invalid class names passed to ClassLoader.loadClass.
Substitute slashes for dots in the class name if we are going to pass it
to ClassLoader.loadClass via JNI, instead of calling JNIEnv::FindClass.
This avoids spamming the log with warnings from Dalvik about invalid
class names; it was working correctly anyway due to implementation
details of the VM, but we shouldn't be doing this.
This is not the ideal solution to the problem but is a relatively safe
and isolated fix we can cherrypick to a release branch while we work on
a better one.
BUG=461773
R=rmcilroy
Committed: https://crrev.com/c16354c567b13a6ce3f9b3d8e4c3af61ee3b8c71
Cr-Commit-Position: refs/heads/master@{#320816}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address nits #Messages
Total messages: 8 (2 generated)
|