File tree Expand file tree Collapse file tree
test/jdk/sun/net/www/protocol/http Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2021, 2022 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2021, 2026 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
2222 */
2323
2424/*
25- * @test
25+ * @test id=default
2626 * @bug 8270290
27+ * @requires os.family != "windows"
2728 * @library /test/lib
2829 * @run main/othervm NTLMHeadTest SERVER
2930 * @run main/othervm NTLMHeadTest PROXY
4849 * include the body.
4950 */
5051
52+ /*
53+ * @test id=windows
54+ * @bug 8270290
55+ * @comment Only run on specific Windows OS versions because NTLMv1 is no longer supported starting Windows 11 and Windows Server 2025
56+ * @requires os.family == "windows" & (os.name == "Windows 10" | os.name == "Windows Server 2016" | os.name == "Windows Server 2019" | os.name == "Windows Server 2022")
57+ * @library /test/lib
58+ * @run main/othervm NTLMHeadTest SERVER
59+ * @run main/othervm NTLMHeadTest PROXY
60+ * @run main/othervm NTLMHeadTest TUNNEL
61+ */
62+
5163import java .net .*;
5264import java .io .*;
5365import java .util .*;
Original file line number Diff line number Diff line change 2626 * @bug 8225425
2727 * @summary Verifies that transparent NTLM (on Windows) is not used by default,
2828 * and is used only when the relevant property is set.
29- * @requires os.family == "windows"
29+ * @comment Only run on specific Windows OS versions because NTLMv1 is no longer supported starting Windows 11 and Windows Server 2025
30+ * @requires os.family == "windows" & (os.name == "Windows 10" | os.name == "Windows Server 2016" | os.name == "Windows Server 2019" | os.name == "Windows Server 2022")
3031 * @library /test/lib
3132 * @run testng/othervm
3233 * -Dtest.auth.succeed=false
You can’t perform that action at this time.
0 commit comments