Hello Jim,
Thank you. Incorporated your review comments in
http://cr.openjdk.java.net/~arajkumar/8155903/webrev.03
Please take a look.
--
Arun
On 5/9/2016 11:51 PM, Jim Graham wrote:
That looks good for the case where Imin is zero, but it appears that
we could also have overflow as well, wi
That looks good for the case where Imin is zero, but it appears that we could also have overflow as well, with a single
very tiny Imin the accumulation of estimatedSize with an "int" type could easily overflow and become essentially a
random number. Changing the estimatedSize variable to a float
Hello Jim,
Thanks for your suggestions. As of now I taking an easy way to fix the
issue, New changes are available at
http://cr.openjdk.java.net/~arajkumar/8155903/webrev.02
I couldn't write a reliable test case using public javafx APIs, the
behavior is intermittent. However I could consiste
Hi Arun,
The change you made to the calculateSingleArray method looks like it
produces a bad array of color stops for the case where Imin is 0. You
should fall into the calculateMultipleArray method instead which should
not have any trouble with zero length intervals. At that point you
don'