RFR: 7903118: Sanity Tests - Adding four JavaTest GUI newly automated sanity test scripts [v5]

gollayadav duke at openjdk.java.net
Thu Mar 24 21:52:55 UTC 2022


On Fri, 11 Mar 2022 01:26:20 GMT, Dmitry Bessonov <dbessono at openjdk.org> wrote:

>> gui-tests/src/gui/src/jthtest/Sanity_Tests/Test_Config_Edit3.java line 67:
>> 
>>> 65:      *                                   runtime.
>>> 66:      */
>>> 67:     @SuppressWarnings("deprecation")
>> 
>> Is this done to suppress the warning about deprecated "createWorkDirInTemp" ? "createWorkDirInTemp" is used widely and it seems only in this pack of tests its usage is accompanied with '@SuppressWarnings("deprecation")'. Why is it deprecated? Should it be kept deprecated?
>
> Or possibly some other - non-deprecated method should be used instead of using a deprecated one and adding "@SuppressWarnings("deprecation")" ?

Thanks for reviewing. I will try to use the non-deprecated method and let you know.

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

PR: https://git.openjdk.java.net/jtharness/pull/24


More information about the jtharness-dev mailing list