Log in

View Full Version : weird output of JAD Java decompiler


Solomon
March 24th, 2003, 10:06
I got the following statement from JAD. But I can't find the byte sequence 0xAC(\254), 0xED(\355) in the corresponding class file(The class file is not obfuscated.). Strange?
Code:

public static final byte[] StringToBytes(String s)
{
byte abyte0[] = new byte[s.length()];
for(int i = abyte0.length - 1; i >= 0; i--)
abyte0[I] = (byte)s.charAt(i);

return abyte0;
}

util2.StringToBytes("\254\355\u0100\u0105";

mike
April 8th, 2003, 00:21
It's a static string, so it would be in a string table, right? Have you looked at the bytecode at all?