RFR: 8281717: Cover logout method for several LoginModule [v3]
Rajan Halade
rhalade at openjdk.java.net
Tue Mar 29 18:28:12 UTC 2022
On Mon, 28 Mar 2022 06:58:29 GMT, Sibabrata Sahoo <ssahoo at openjdk.org> wrote:
>> test/jdk/com/sun/security/auth/module/AllPlatforms.java line 45:
>>
>>> 43: UNIX_MODULE, "optional",
>>> 44: NT_MODULE, "optional");
>>> 45: login(OS.replaceAll("[^a-zA-Z0-9]", ""), getPlatformLoginModule(), "required");
>>
>> I think test should still be run on all platforms even though login would fail. On other platforms than the test being run on, test shouldn't fail with "UnsatisfiedLinkError" as per JDK-8039951.
>
> Now it will run in all platform other than the running one and the expected failure is LoginException. So any other types of Exception will be treated as failure including UnsatisfiedLinkError.
thanks for addressing it!
-------------
PR: https://git.openjdk.java.net/jdk/pull/7940
More information about the security-dev
mailing list