The compiler seems to be ok with this (single digit hex values only):
byte[] rawbytes={0xa,0x2,0xf};
But not this:
byte[] rawbytes={0xa,0x2,0xff};
I get a "Possible Loss of Precision found : int required : byte" error?
What am I doing wrong - or are single digit hex numbers a special case ?
Java 1.5.x.