diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-01 07:45:55 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-01 07:45:55 +0000 |
commit | 2114cdb6787393a55e2ec0b9951b90bba0752117 (patch) | |
tree | fc9999a1fb7eef2f890035a3561bfc6b284813d7 /libjava/prims.cc | |
parent | b5262297911b32f18d02fbf1e79df0a404cb182c (diff) | |
download | gcc-2114cdb6787393a55e2ec0b9951b90bba0752117.tar.gz |
2006-05-31 Bryce McKinlay <mckinlay@redhat.com>
* prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
name, not Latin1.
* gnu/java/lang/MainThread.java (run): Allow file separator char to
be used in place of '.' as class-name separator. Don't chain
ClassNotFoundException.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114300 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/prims.cc')
-rw-r--r-- | libjava/prims.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/prims.cc b/libjava/prims.cc index 1c3490e7511..a066866c534 100644 --- a/libjava/prims.cc +++ b/libjava/prims.cc @@ -1524,7 +1524,7 @@ _Jv_RunMain (JvVMInitArgs *vm_args, jclass klass, const char *name, int argc, if (klass) main_thread = new MainThread (klass, arg_vec); else - main_thread = new MainThread (JvNewStringLatin1 (name), + main_thread = new MainThread (JvNewStringUTF (name), arg_vec, is_jar); } catch (java::lang::Throwable *t) |