RFR: 8338571: [TestBug] DefaultCloseOperation.java test not working as expected wrt instruction after JDK-8325851 fix

duke duke at openjdk.org
Fri Nov 22 09:11:29 UTC 2024


On Wed, 18 Sep 2024 13:23:32 GMT, Sharath TN <duke at openjdk.org> wrote:

> Fixed test and fix is working fine. 
> 
> Fix
> testUI(DefaultCloseOperation::createUI) will create PassfailJFrame test windows when test starts.
> 
> PassFailJFrame.addTestWindow(testFrame);
> PassFailJFrame.addTestWindow(testDialog);
> 
> Above code exists in the Test. So TestFrame and TestDailog windows will be created when testUI(DefaultCloseOperation::createUI) invoked.
> 
> Need to remove above code as this code is not required.

@shtn17 
Your change (at version 7ae144f822a0f2def022d508044c205bd4c83a9b) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/21061#issuecomment-2493263515


More information about the client-libs-dev mailing list