Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319697 - Number starting with a '-' or '.' can't be read from the PDB text representation
Summary: Number starting with a '-' or '.' can't be read from the PDB text representation
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: IMP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jurgen Vinju CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-13 08:36 EDT by Arnold Lankamp CLA
Modified: 2014-01-09 15:04 EST (History)
1 user (show)

See Also:


Attachments
Patch for the read number bug. (1.25 KB, patch)
2010-07-13 08:37 EDT, Arnold Lankamp CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arnold Lankamp CLA 2010-07-13 08:36:44 EDT
Build Identifier: M20090211-1700

When attempting to read a PDB text file containing a negative integer or double starting with a '.' (using the StandardTextReader) an exception is thrown.

Reproducible: Always

Steps to Reproduce:
Read a PDB text file containing a negative integer using the StandardTextReader.
Comment 1 Arnold Lankamp CLA 2010-07-13 08:37:52 EDT
Created attachment 174136 [details]
Patch for the read number bug.

Attached a patch which fixes the read number issue for negative numbers and doubles starting with a '.'.
Comment 2 Jurgen Vinju CLA 2010-07-13 09:57:45 EDT
applied patch