Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8295777: java/net/httpclient/ConnectExceptionTest.java should not rel…
…y on system resolver

Backport-of: 65c84e0cf890df2a604ac07213327be007227e77
  • Loading branch information
GoeLin committed Feb 28, 2023
1 parent d21d985 commit 86b8ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jdk/java/net/httpclient/ConnectExceptionTest.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand All @@ -25,7 +25,7 @@
* @test
* @summary Expect ConnectException for all non-security related connect errors
* @bug 8204864
* @run testng/othervm ConnectExceptionTest
* @run testng/othervm -Djdk.net.hosts.file=HostFileDoesNotExist ConnectExceptionTest
* @run testng/othervm/java.security.policy=noPermissions.policy ConnectExceptionTest
*/

Expand Down

1 comment on commit 86b8ea8

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.