| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A new LocalArray C++ class lets us specify a "reasonable" amount of stack to
use, but transparently fall back to using the heap if we need more space.
The three places I've chosen to use LocalArray in this patch are fairly
random; all they have in common is that they're the places where we call
GetStringUTFRegion. There are more places LocalArray will be useful: the
java.io.File JNI in particular.
Bug: 2257819
|
|/
|
|
|
|
| |
(Not to be submitted before d2944c35 in packages/apps/Email.)
Bug: 2249953
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Our DOM parser didn't support { or š character references,
and didn't merge adjacent text nodes into one (so "a&b" would be
three text nodes rather than one; SAX allows the former, but DOM
guarantees the latter).
This patch fixes both bugs, and adds tests.
Bug: 2607 (and duplicates)
|
|
|
|
|
|
|
|
|
|
| |
Much of this is spurious whitespace changes, but there's some increased
"relaxation". I deliberately lost the Android-specific change that was
avoiding Runtime, since we do now have Runtime. I've added an Android-specific
change to comment out some System.out logging that's been added upstream.
I'd tell you the upstream revision number, but they're still using CVS, so
there isn't one.
|
|
|
|
|
| |
This failing test demonstrates the problem. It also adds AllTests
plumbing for this test and some missing ones.
|
|
|
|
| |
Bugs: 2099642, 2099637
|
|
|
|
| |
This replaces PrefsTester and is more general purpose.
|
|
|
|
|
|
|
|
|
| |
See "Exceptions" in our own documentation:
http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=docs/jni-tips.html;hb=HEAD
This is also true of the RI, though the spec sometimes implies otherwise.
Here's the canonical reference:
http://java.sun.com/docs/books/jni/html/design.html#2193
|
|
|
|
|
|
| |
Always use our best-of-breed code for throwing exceptions. The remaining
callers of Throw have good reason, and the only caller of ThrowNew is
now JNIHelp.c (jniThrowException) itself.
|
|
|
|
|
|
|
|
|
|
|
| |
Obvious copy & paste error in InnerNodeImpl compared to LeafNodeImpl, plus
new test.
I've also fixed a typo that annoys me whenever I look at the XML test results,
and removed a KnownFailure for a test that passes (and has been passing for
some time).
Bug: 779
|
|
|
|
|
|
|
|
|
|
|
| |
Note that the changes to DecimalFormatInterface.cpp and RBNFInterface.cpp
are just minor tidy-ups, fixing an issue where the early error exit wouldn't
call ReleaseStringChars to undo the earlier call to GetStringChars. Also
remove a dead function and fix a comment in ExpatParser.cpp.
Tested on sapphire-eng.
Bug: 1639287
|
|\
| |
| |
| |
| | |
* changes:
libcore/.../rg_apache_harmony_xml_ExpatParser: in C++, the return type of strchr(const char*) is 'const char*' instead of 'char *'.
|
| |
| |
| |
| |
| |
| |
| |
| | |
of strchr(const char*) is 'const char*' instead of 'char *'.
C++ overloads string functions so that strchr(char*) returns 'char*' and
strchr(const char*) returns 'const char*'. This patch fixes an "invalid
conversion from ‘const char*’ to ‘char*’" error when building with gcc-4.4.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
timeout
are now marked with BrokenTest to exclude them for the time being until
we have a way to execute them.
BUG=1285921
Automated import of CL 147687
|
| |
| |
| |
| |
| |
| | |
BUG=1285921
Automated import of CL 146132
|
| |
| |
| |
| |
| |
| | |
BUG=1285921
Automated import of CL 144822
|
| |
| |
| |
| |
| |
| |
| | |
test suite, so it can be run on the RI as well.
BUG=1285921
Automated import of CL 143454
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|