On Mon, 28 Mar 2022 06:58:29 GMT, Sibabrata Sahoo <[email protected]> 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