> Original Souce Code is using offset in the for-loop instead of pos. It can't
> copy array correctly.
Yup. This was my mistake.
> Original Souce Code will not check js->myUTF8 is null or not. If it
> is null, it will makes core dump.
Fixed this one, too.
With respect to printing in general: when I tried
'System.out.println( 100 );', it worked just fine. 'System.out.println(
String.valueOf( 100 )' blows up and dies because I haven't implemented
getPrimitiveClass() yet -- in large part because I'm not sure what it's
supposed to do! This is one of things where classpath should come in
helpful. (Which, I am, in fact, working on.)
'System.out.println(obj.toString())' blows up and dies because the native
getClass() isn't exposed quite yet -- again, this would be better handled
with a new class library, I think.
Thanks for the fixes, though. They'll be in the CVS shortly.
-_Quinn
_______________________________________________
Kernel maillist - [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel