On Wed, 18 Jun 2025 16:20:14 GMT, Manukumar V S <m...@openjdk.org> wrote:

> Issue:
> java/awt/font/TextLayout/MyanmarTextTest.java passes on headless machines 
> even though it creates GUI components. Ideally, when you create some GUI 
> components in your code in a headless machine, it should through 
> HeadlessException, but MyanmarTextTest.java seems to suppress it and gives a 
> positive result.
> 
> Fix:
> Need to throw jtreg.SkippedException in cases where some pre-conditions for 
> running the test are not met.
> 
> Testing:
> Tested using mach5 in all available platforms and got full PASS.

I don't understand how what you changed related to the stated problem. In fact 
I don't see the point of this PR at all.

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

PR Comment: https://git.openjdk.org/jdk/pull/25879#issuecomment-2985052413

Reply via email to