I am clueless too.

Paul Franz
----- Original Message -----
From: "Bhuvan K Gupta" <[EMAIL PROTECTED]>
To: "JDJList" <[EMAIL PROTECTED]>
Sent: Wednesday, August 14, 2002 11:14 AM
Subject: [jdjlist] RE: Problem on HP-UX


Thanks paulfranz
I tried with the same version (1.3.1.02) on windows and was ablr to
reproduce the error
Where as this doesn't comes with JDK 1.3.1.03.
Will try this by installing 1.3.1.05 on HP-UX .

Also in curiosity was just trying to find the which byte was creating
this strange behaviour and found out
That it was byte[81] being assigned a value of < 0.
Though I am still clueless about this strange behaviour.

Thanks
Bhuvan

-----Original Message-----
From: Paul Franz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 8:45 PM
To: JDJList
Cc: [EMAIL PROTECTED]
Subject: [jdjlist] RE: Problem on HP-UX


Get the latest version.

java version "1.3.1.05"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.3.1.05-020425-12:07)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.05-JPSE_1.3.1.05_20020425
PA2.0, mixed mode)

I just tried it on that version and you program worked fine.

Output:

 STr ::
�����@@@@@��@�������@@@@@@�����@@@@@@@@@@@@�����������������������������
����
����������

Paul Franz

----- Original Message -----
From: "Bhuvan K Gupta" <[EMAIL PROTECTED]>
To: "JDJList" <[EMAIL PROTECTED]>
Sent: Wednesday, August 14, 2002 7:18 AM
Subject: [jdjlist] RE: Problem on HP-UX


>
> Please find the sample attached .
>
> Thanks
> Bhu1
> -----Original Message-----
> From: Bhuvan K Gupta [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 8:16 PM
> To: JDJList
> Subject: [jdjlist] Problem on HP-UX
>
>
> 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
>
>


------------------------------------------------------------------------
----
----


> To change your membership options, refer to:
> http://www.sys-con.com/java/list.cfm
>


To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm



To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm



To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to