<Swing Dev> RFR: 8260687: Inherited font size is smaller than expected when using StyleSheet to add styles [v6]

Stanimir Stamenkov github.com+1247730+stanio at openjdk.java.net
Fri Feb 12 14:50:39 UTC 2021


On Fri, 12 Feb 2021 13:30:23 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> It might be during failure :-) [which is why it is captured during failure for many other regression tests]
>
> Yeah, sure. Likely, this kind of issue will be reproducible in other environments if it fails.
> My initial idea during #1759 was to show a frame which would be useful during debugging.
> 
> I hope it will never fail again. :)
> 
> Anyway, I'm okay with whatever solution @stanio implements. The easiest one, however, is to use the second parameter to save the image. Sometimes it's useful to have the image captured even when the test does not fail.

I had thought it would be most useful to have it save an image capture on failure during an automated run, but I was not sure what file path is possible/appropriate to use – would using the current working directory be o.k.?  I may fix the image capture file then, and possibly use a program argument just to force saving a successful run capture – does it sound o.k.?

-------------

PR: https://git.openjdk.java.net/jdk/pull/2515


More information about the swing-dev mailing list