This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 26168

Summary: BUG - different writing and reading of Long value
Product: java Reporter: Kozusznik Jan <kozusznikj>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: patching of this bug

Description Kozusznik Jan 2002-08-01 08:47:10 UTC
There was bug in saving value of type Long. When 
I set Long attribute to 1027634400000 and later I
restarted NBMDR this attribute had different
value. I found bug in IOUtils in method readLong.
Comment 1 Kozusznik Jan 2002-08-01 08:48:29 UTC
Created attachment 6970 [details]
patching of this bug
Comment 2 Martin Matula 2002-08-01 08:50:16 UTC
patch integrated
Comment 3 Martin Matula 2002-08-01 08:53:19 UTC
Well, not really integrated. It was fixed before and it seems that the
patch you have sent me was created against already fixed version, so
in fact it just makes some changes that make the resulting code
equivalent.
Comment 4 Stepan Roh 2002-08-01 08:59:20 UTC
The patch Jan sent fixes bug in his previous fix (which was sent only
to dev list). There was a problem with integers being signed, I think.
Comment 5 Martin Matula 2002-08-01 12:48:55 UTC
Oh, I see. Thanks!