Mantis Bug Tracker

View Issue DetailsJump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000192jquantlib[All Projects] code reviewpublic2009-02-10 15:242009-06-18 15:04
ReporterRichard Gomes 
Assigned ToUeli Hofstetter 
PriorityurgentSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version0.1.2Fixed in Version0.1.3 
Summary0000192: Review org.jquantlib.pricingengines.AmericanPayoffAtHit
DescriptionLines 74 and 78:

High Priority Correctness [H C UR] Uninitialized read of field in constructor [UR_UNINIT_READ]
In class org.jquantlib.pricingengines.AmericanPayoffAtHit
In method new org.jquantlib.pricingengines.AmericanPayoffAtHit(double, double, double, double, StrikedTypePayoff)
Field org.jquantlib.pricingengines.AmericanPayoffAtHit.forward
Did you mean to refer to the local variable ?
At AmericanPayoffAtHit.java:[line 74]


[H C UR] Uninitialized read of field in constructor [UR_UNINIT_READ]

This constructor reads a field which has not yet been assigned a value. This is often caused when the programmer mistakenly uses the field instead of one of the constructor's parameters.

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000177)
Ueli Hofstetter (developer)
2009-02-13 17:49

fixed. forward used instead of spot.
(0000348)
Richard Gomes (manager)
2009-06-18 15:04

Variables DXDstrike are DKDstrike are laying around: assigned values are never read. Our translation is correct: the issue comes from C++ code.
(0000349)
Richard Gomes (manager)
2009-06-18 15:04

done

- Issue History
Date Modified Username Field Change
2009-02-10 15:24 Richard Gomes New Issue
2009-02-13 17:48 Ueli Hofstetter Status new => assigned
2009-02-13 17:48 Ueli Hofstetter Assigned To => Ueli Hofstetter
2009-02-13 17:49 Ueli Hofstetter Note Added: 0000177
2009-02-13 17:49 Ueli Hofstetter Status assigned => resolved
2009-02-13 17:49 Ueli Hofstetter Resolution open => fixed
2009-06-18 15:04 Richard Gomes Note Added: 0000348
2009-06-18 15:04 Richard Gomes Note Added: 0000349
2009-06-18 15:04 Richard Gomes Status resolved => closed
2009-06-18 15:04 Richard Gomes Fixed in Version => 0.1.3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker