<AWT Dev> [10] Review Request 8177758: Regression in java.awt.FileDialog

Semyon Sadetsky semyon.sadetsky at oracle.com
Fri Dec 1 22:24:38 UTC 2017


Hello,

Please review fix for JDK10:

bug: https://bugs.openjdk.java.net/browse/JDK-8177758

webrev: http://cr.openjdk.java.net/~ssadetsky/8177758/webrev.00/

In 8075516 it was not taken into account that yet another global 
reference to the file dialog peer is created  inside the called 
AwtFileDialog::Show(), so there one more global reference that prevents 
file dialog to be collected by GC. In the fix the second reference is 
eliminated.

--Semyon



More information about the awt-dev mailing list