OSDN Git Service

Improve documentation about StringFactory.newStringFromChars.
authorRoland Levillain <rpl@google.com>
Mon, 29 Feb 2016 16:23:48 +0000 (16:23 +0000)
committerRoland Levillain <rpl@google.com>
Mon, 29 Feb 2016 16:46:12 +0000 (16:46 +0000)
commitcc3839c15555a2751e13980638fc40e4d3da633e
tree4068f602067f7a7f2a3ef5d0655c2aa4ee81e1a4
parentc3bcf40e905c53ec857ec40a9ae45f4c86738929
Improve documentation about StringFactory.newStringFromChars.

Make it clear that the native method requires its third
argument to be non-null, and therefore that the intrinsics
do not need a null check for it.

Bug: 27378573
Change-Id: Id2f78ceb0f7674f1066bc3f216b738358ca25542
compiler/dex/quick/gen_invoke.cc
compiler/optimizing/intrinsics_arm.cc
compiler/optimizing/intrinsics_arm64.cc
compiler/optimizing/intrinsics_mips64.cc
compiler/optimizing/intrinsics_x86.cc
compiler/optimizing/intrinsics_x86_64.cc
runtime/native/java_lang_StringFactory.cc