Hi All, Please see the attached program which simply creates a String from a byte[] and prints it.
NOTE :: this byte[] is the byte representation of a EBCDIC String. When I run this sample on Windows and Solaris. This works properly and prints a String of junk chars as expected. But when I run the same sample on HP-UX 11.11 It creates an EMPTY String object on new String(byte[]) and length is also printed = 0 I have tried the following versions of both JDK and JRE on HP-UX 1. java version "1.2.2.11" HotSpot VM (1.0.1fcs, mixed mode, PA2.0 build 1.2.2.11-01/10/31-PA_RISC2.0) 2. java version "1.3.1.02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.02-011206-02:17) Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.02-JPSE_1.3.1.02_20011206 PA2.0, mixed mode) Any Clues !!!! Thanks Bhuvan To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
