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 - BUG - different writing and reading of Long value
Summary: BUG - different writing and reading of Long value
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-01 08:47 UTC by Kozusznik Jan
Modified: 2002-08-01 12:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patching of this bug (1.27 KB, patch)
2002-08-01 08:48 UTC, Kozusznik Jan
Details | Diff

Note You need to log in before you can comment on or make changes to 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!