diff options
| author | Elliott Hughes <enh@google.com> | 2009-12-08 15:41:35 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2009-12-08 15:49:01 -0800 |
| commit | 5b8be582efbdf9917f45f379cce2e46caa3ca2ae (patch) | |
| tree | 2ac013ff6237b318b0e9f7ab9c1cc4f1f89181d3 /vm/compiler/codegen/arm/CodegenDriver.c | |
| parent | 081cb85102f8d4cdce5359566742433c5102b4b3 (diff) | |
Improve the FileNotFoundExceptions thrown by OSFileSystem.open.
When I improved the internals of java.io.File, I failed to keep
OSFileSystem.open (which uses the internals of java.io.File) in
sync, leading to misleading error reporting. java.io.File's
internals now include a trailing NUL, which is useful for the
native code but confuses Java if it tries to decode the byte[]
as a UTF-8 sequence.
This patch fixes the bug and also improves OSFileSystem.open's
error reporting to include the reason for the failure.
Bug: 2313271
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions
