Re: [jchevm] native method API for _jc_new_intern_string -- do you plan to add to _jc_ilib_entry table?

2006-02-14 Thread Tim Ellison
sure -- String interning is in the kernel precisely so that the VM implementor (i.e. you) can choose to do it in native or Java code. Of course, they have to be interned into the same table as the JLS string literals. Regards, Tim Archie Cobbs wrote: Weldon Washburn wrote: I am working on

Re: [jchevm] native method API for _jc_new_intern_string -- do you plan to add to _jc_ilib_entry table?

2006-02-14 Thread Oliver Deakin
Hi Weldon, Weldon Washburn wrote: Archie, I am working on kernel_path String.java. The only VM specific method in String currently is intern. However, inclusion of this method in the kernel forces the VM vendor to implement the rest of the String class, which has no further VM specific

Re: [jchevm] native method API for _jc_new_intern_string -- do you plan to add to _jc_ilib_entry table?

2006-02-14 Thread Archie Cobbs
Tim Ellison wrote: sure -- String interning is in the kernel precisely so that the VM implementor (i.e. you) can choose to do it in native or Java code. Of course, they have to be interned into the same table as the JLS string literals. Of course :-) JCHEVM handles this correctly. -Archie

Re: [jchevm] native method API for _jc_new_intern_string -- do you plan to add to _jc_ilib_entry table?

2006-02-14 Thread Weldon Washburn
For the initial hello world phase of Harmony Class Library on JCHEVM, I wrote a real stupid, simple String intern in java. It can be replaced later with a more sophisticated version. Question -- does it make sense to include a stupid, simple String.intern() in the kernel class to make it even

Re: [jchevm] native method API for _jc_new_intern_string -- do you plan to add to _jc_ilib_entry table?

2006-02-14 Thread Tim Ellison
Weldon Washburn wrote: Question -- does it make sense to include a stupid, simple String.intern() in the kernel class to make it even easier and more convenient for someone trying to graft Harmony Class Libraries to a new JVM? Sure, we can add it to the KERNEL module stubs so people can

Re: [jchevm] native method API for _jc_new_intern_string -- do you plan to add to _jc_ilib_entry table?

2006-02-14 Thread Weldon Washburn
On 2/14/06, Tim Ellison [EMAIL PROTECTED] wrote: Weldon Washburn wrote: Question -- does it make sense to include a stupid, simple String.intern() in the kernel class to make it even easier and more convenient for someone trying to graft Harmony Class Libraries to a new JVM? Sure, we

Re: [jchevm] native method API for _jc_new_intern_string -- do you plan to add to _jc_ilib_entry table?

2006-02-14 Thread Geir Magnusson Jr
could it throw an Error rather than while(true)? Much easier to debug... :) Weldon Washburn wrote: On 2/14/06, Tim Ellison [EMAIL PROTECTED] wrote: Weldon Washburn wrote: Question -- does it make sense to include a stupid, simple String.intern() in the kernel class to make it even easier and

[jchevm] native method API for _jc_new_intern_string -- do you plan to add to _jc_ilib_entry table?

2006-02-13 Thread Weldon Washburn
Archie, I am working on kernel_path String.java. It wants to call a native method to do the intern work. If you plan to add a native method that does String intern, I won't spend the time doing interning in Java code. I think this code is related to _jc_ilib_entry table. Do you have thoughts

Re: [jchevm] native method API for _jc_new_intern_string -- do you plan to add to _jc_ilib_entry table?

2006-02-13 Thread Archie Cobbs
Weldon Washburn wrote: I am working on kernel_path String.java. It wants to call a native method to do the intern work. If you plan to add a native method that does String intern, I won't spend the time doing interning in Java code. I think this code is related to _jc_ilib_entry table. Do