<AWT Dev> RFR: 8255800: Raster creation methods need some specification clean up [v2]
prr at openjdk.java.net
Fri Apr 2 22:40:55 UTC 2021
On Fri, 2 Apr 2021 21:03:30 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>> 8255800: Raster creation methods need some specification clean up
> Marked as reviewed by serb (Reviewer).
I updated the fix with some additional checks. This is implementation only - doesn't affect the spec clarification.
The problem was that without these new upfront checks for overflow of width+location.x, then on systems without
enough memory/swap you'd get an OOME before you got to the place where overflow was checked.
More information about the awt-dev