Hi,

    As I know, there are some problems of current System.out.print.
It is not the problem of print method. Since right now, String, primitive
Class
are not completed fully implmented.

    a. System.arraycopy : I have implemented this.
    b. Class.getPrimitiveClass(String primitive_name) : u can found out
there is a private static method in Class.
        So, we need to implement this. But I got No IDEA how to create a
"class" in C++ of JJOS.
        getPrimitiveClass is used for those Integer, Float, Short, Byte, etc
to check existing Primitive with Objects.

If So, I think we implements these two methods. We can got a prefect
System.out.print.

Regards,

Hilary


>decaf doesn't seem to want to return from methods in the host build after
you
>have run any variation on System.out.print();
>
>Actually printing the text runs fine, as well as returning from the print()
>method.  You can even run further bytcodes and invoke other methods, but as
>soon as you return out of the function which called the print() function,
you
>get a Segmentation Fault.  It is quite consistent and repeatable.  It
doesn't
>matter what function you choose, or how you return from the function.
>
>I haven't tried this with the i386 build because I still don't have that up
and
>running.  This is a checkout of the latest CVS source. (~7:30 EDT, 13
Sept).
>
>Any ideas?
>- Avery J. Regier
>
>
>
>_______________________________________________
>Kernel maillist  -  [EMAIL PROTECTED]
>http://jos.org/mailman/listinfo/kernel
>


_______________________________________________
Kernel maillist  -  [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel

Reply via email to