aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2009-12-04 15:06:58 -0800
committerElliott Hughes <enh@google.com>2009-12-04 16:33:56 -0800
commit16a92961179de4b75dd8999841e0603c8a42218c (patch)
tree2e62913d5f84fc969c484c6a7035f4a20dbf3a89 /vm/compiler/codegen/arm/CodegenDriver.c
parentc543ea3513afbebe38d7f831a45ee44f1a924ca6 (diff)
More java.io.File cleanup.
Two changes: 1. Change the createNewFile JNI to match the Java interface, so we can lose the glue. (Also make the Java/JNI names match, and sort the table of native method names alphabetically.) 2. Fix the caching of the path byte sequence so we're caching the exact byte sequence we want to hand to JNI. Also switch to caching the byte[] at construction time, rather than hiding it behind an accessor. There's a deliberate functional change here too: previously we were inconsistent about which encoding was in use. Sometimes it was explicitly UTF-8, other times the default platform encoding (which happens to be UTF-8 on Android). Now we always use UTF-8. (But note that the File.list methods, which I haven't got to yet, still return a mix of UTF-8 and platform-encoded strings.) Bug: 2281992
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions