Bug 316985 (MONO71671) - [PATCH] IntegerFormatter needs array access help
Summary: [PATCH] IntegerFormatter needs array access help
Status: RESOLVED FIXED
Alias: MONO71671
Product: Mono: Runtime
Classification: Mono
Component: JIT (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-24 18:12 UTC by Nick D
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patch (1.26 KB, patch)
2005-01-24 18:13 UTC, Thomas Wiest
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:05:04 UTC


---- Reported by ndrochak@gol.com 2005-01-24 11:12:52 MST ----

IntegerFormatter shows a bug with the nunit tests. The following patch 
helps fix this.

The temporary variable helps to prevent the test failure, but doesn't 
address the real issue, which is why the heck does the array access seem 
to give back the wrong item?

I couldn't get a smaller test case to exhibit the same issue.

See attachment



---- Additional Comments From ndrochak@gol.com 2005-01-24 11:13:18 MST ----

Created an attachment (id=167303)
patch




---- Additional Comments From vargaz@gmail.com 2005-01-26 13:18:55 MST ----

I couldn't repro this using latest SVN, i.e. all the IntegerFormatter
tests run fine for me.



---- Additional Comments From ndrochak@gol.com 2005-01-27 08:21:49 MST ----

Doesn't fail for me anymore either.  Closing.  (But I swear, it 
*did* fail before!)

Imported an attachment (id=167303)

Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Ubuntu 4.10</cf_op_sys_details>
Unknown operating system other. Setting to default OS "Other".