changeset 11864:921236f5ebaa

8145732: Duplicate entry in http.nonProxyHosts will ignore subsequent entries Summary: Test update to explicitly cover problematic scenario. Reviewed-by: chegar
author snikandrova
date Fri, 12 Aug 2016 20:14:25 +0300
parents a2407fe43cd0
children 985eed16a784
files test/java/net/ProxySelector/B8035158.java
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/net/ProxySelector/B8035158.java	Tue Aug 16 19:34:31 2016 +0300
+++ b/test/java/net/ProxySelector/B8035158.java	Fri Aug 12 20:14:25 2016 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2016, 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
@@ -22,7 +22,7 @@
  */
 /*
  * @test
- * @bug 8035158
+ * @bug 8035158 8145732
  * @run main/othervm B8035158
  */
 
@@ -94,6 +94,8 @@
                 false));
         t.add(new TestCase("google.com|google.ie", "http://google.ie",
                 false));
+        t.add(new TestCase("google.com|google.com|google.ie",
+                "http://google.ie", false));
 
         t.add(new TestCase("google.com|bing.com|yahoo.com",
                 "http://127.0.0.1", false));