Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2001 18:14:47 -0500 (EST)
From:      rraykov@sageian.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24395: Serialization problem in jdk port
Message-ID:  <20010116231447.8BED06A904@mail.sageian.com>

next in thread | raw e-mail | index | archive | help

>Number:         24395
>Category:       ports
>Synopsis:       Date object is not deserialized correct
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 16 15:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Rossen Raykov
>Release:        FreeBSD 4.1.1-RELEASE i386
>Organization:
Sage Consulting Group Inc.
>Environment:
build jdk1.2.2-FreeBSD:root:2000/10/25-20:23, green threads, nojit)

>Description:

I was using native jdk1.2.2-beta (not the lat one - (build jdk1.2.2-FreeBSD:root:2000/10/25-20:23, green threads, nojit)) to communicate from JServ to WebLogic (Solaris_JDK_1.2.2_06).
Yesterday I discover strange problem with serialization.
The Date object is not deserialized correctly on BSD side.
All dates before April 1 2001 ware ok.
After this date the Date object on BSD was with a day after the Date object on WebLogic?!
Running the same application on other Linux/JServ ageinst the same WebLogic sever is fine.
I changed the JDK on BSD box to the linux one (build Linux_JDK_1.2.2_RC4, green threads, sunwjit) and the error disappeared!
I believed the error is inside BSD java port.
For a pity I don't have time to dig it in depth nor to build the last version.

>How-To-Repeat:

Serialize an Date object with none BSD JDK 1.2.2.
Deserialize it wir BSD JDK 1.2.2.

>Fix:




>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010116231447.8BED06A904>