wanglunhui2012 commented on PR #322:
URL: https://github.com/apache/poi/pull/322#issuecomment-1095770455
> Do you have a reproducible test case? We can't just take random code
changes with no evidence of the issue.
I found this happened when `Graphics2D` draw long path, infinite loop occur
in `sun.dc.pr.PathDasher.appendLine()`:
```java
int width=960,height=540;
BufferedImage bufferedImage=new
BufferedImage(width,height,BufferedImage.TYPE_INT_RGB);
Graphics2D graphics2D = bufferedImage.createGraphics();
graphics2D.setStroke(new BasicStroke(1, BasicStroke.CAP_BUTT,
BasicStroke.JOIN_ROUND, 1.0f,
new float[] {1.0f, 1.0f}, 0));
graphics2D.drawRect(0, 0, 2147483627, 2147483627);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]