Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319697

Summary: Number starting with a '-' or '.' can't be read from the PDB text representation
Product: z_Archived Reporter: Arnold Lankamp <lankamp>
Component: IMPAssignee: Jurgen Vinju <jurgen.vinju>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: rfuhrer
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch for the read number bug. none

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