UByte is unsigned :)
There is actually a bug in UByte.parse which is pretty obvious.
Use UShort.parse and cast it to a UByte.
@Native("c++", "((x10_ubyte) x10aux::int_utils::parseInt(#1, #2))")
public static def parse(s:String, radix:Int): UByte //throws NumberFormatException
{
return UByte(Byte.parse(s, radix));