On Sun, 22 Nov 2026 18:45:35 GMT, Phil Race <[email protected]> wrote:
> I confirmed the leak and that the suggested fix works and should be safe. > The idea for the test (using FFM to measure the number of handles in use) is > quite neat too, and worked very well for me. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). test/jdk/java/awt/PrintJob/SaveDialogTitleTest.java line 47: > 45: jobAttributes.setDestination(JobAttributes.DestinationType.FILE); > 46: > jobAttributes.setDefaultSelection(JobAttributes.DefaultSelectionType.RANGE); > 47: //jobAttributes.setPageRanges(new int[][]{new int[]{3,8}}); Not sure why this test was modified? Is this related? Commenting this line will remove the setup required by the test’s explicit instruction > To test 8025988: Range should be selected with pages 3 to 8 I guess we can create a jtreg test out of the JBS reproducer ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/34015#discussion_r4689916525
