Commit Graph

350 Commits

Author SHA1 Message Date
Mark Sheppard
88790a751d 8050922: add additional diagnostic to java/net/MulticastSocket/TestInterfaces
Add additional diagnostic output for failed netwrok interface

Reviewed-by: chegar
2014-07-18 01:39:42 +01:00
Valerie Peng
efa54ce543 8043406: Change default policy for JCE providers to run with as few privileges as possible
Provide default permissions for crypto providers

Reviewed-by: mullan, vinnie
2014-07-10 22:44:58 +00:00
Chris Hegarty
18728f8cb9 8047674: java/net/URLPermission/nstest/lookup.sh NoClassDefFoundError when run in concurrent mode
Reviewed-by: alanb
2014-06-24 10:25:56 +01:00
Michael McMahon
df9743eb64 8034170: src/share/classes/sun/net/www/protocol/http/DigestAuthentication.java
Reviewed-by: chegar
2014-05-14 11:16:41 +01:00
Katja Kantserova
0c78d5f9e3 8034960: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Reviewed-by: sla, alanb
2014-05-09 15:24:57 +02:00
Michael McMahon
5daff55f41 8041621: java/net/Inet4Address/textToNumericFormat.java fails on Solaris and Mac
Reviewed-by: chegar
2014-04-28 13:49:49 +01:00
Claes Redestad
bdad6d51d4 8040747: Improve performance of IP address parsing
Co-authored-by: Bernd Eckenfels <bernd-2014@eckenfels.net>
Reviewed-by: mduigou, chegar
2014-04-22 16:21:43 +02:00
Chris Hegarty
e34a00b0d7 8040038: java/net/URLPermission/nstest/lookup.sh fails with ClassNotFoundException
Reviewed-by: alanb
2014-04-15 08:28:30 +01:00
Michael McMahon
e90c029bad 8036979: Support java.net.SocketOption<> in java.net socket types
Reviewed-by: alanb, chegar
2014-04-12 20:21:09 +01:00
Pavel Reppo
f4f394efb5 8037396: URI getQuery() and getFragment() don't decode properly
Reviewed-by: chegar, michaelm
2014-04-07 15:40:05 +01:00
Chris Hegarty
804d26e749 8025209: Intermittent test failure java/net/Socket/asyncClose/AsyncClose.java
Co-authored-by: Eric Wang <yiming.wang@oracle.com>
Reviewed-by: chegar
2014-03-31 11:33:40 +01:00
Amanda Jiang
cbaa56fdf7 8038276: java/net/NetworkInterface/Test.java fails on Windows intermittently for Teredo Interface
Reviewed-by: chegar
2014-03-28 16:59:19 +00:00
Pavel Rappo
ea02a62024 8035158: Remove dependency on sun.misc.RegexpPool and friends
Reviewed-by: chegar, michaelm
2014-03-26 19:53:07 +00:00
Eric Wang
9d91b009c1 8035633: TEST_BUG: java/net/NetworkInterface/Equals.java and some tests failed on windows intermittently
Reviewed-by: chegar, alanb, igerasim
2014-03-03 11:06:38 +00:00
Chris Hegarty
558cb26d1c 8035897: Better memory allocation for file descriptors greater than 1024 on macosx
Reviewed-by: michaelm
2014-03-02 19:27:43 +00:00
Michael McMahon
814e8d0479 8035653: InetAddress.getLocalHost crash
Reviewed-by: chegar
2014-02-26 16:18:08 +00:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Amanda Jiang
2b1f66ac95 8031661: java/net/Authenticator/B4769350.java failed intermittently
Reviewed-by: michaelm
2014-02-17 11:27:18 +00:00
Michael Cui
dca4d10631 8028711: TEST_BUG: Shell tests should pass through VM options
Reviewed-by: alanb
2014-02-13 15:59:04 +00:00
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00
Vladimir Kozlov
9c83896027 Merge 2014-01-22 14:17:32 -08:00
Volker Simonis
70041ae4e4 8028537: PPC64: Updated the JDK regression tests to run on AIX
Co-authored-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Reviewed-by: alanb
2014-01-17 21:54:30 +01:00
Tristan Yan
b31c05a9aa 8031666: TEST_BUG: java/net/ipv6tests/UdpTest.java failed because of SocketTimeoutException
Reviewed-by: alanb, chegar
2014-01-17 14:03:57 +00:00
Dimitar Mavrodiev
bae4227a91 7100957: SOCKS proxying does not work with IPv6 connections
Reviewed-by: chegar, alanb
2014-01-14 16:23:49 +00:00
Michael McMahon
208ab44594 8029354: URLPermission.<init> throws llegalArgumentException: Invalid characters in hostname
Reviewed-by: alanb, chegar
2014-01-06 11:00:12 +00:00
Mark Sheppard
0f8fe88155 8025211: Intermittent test failure: java/net/DatagramSocket/PortUnreachable.java
Modified test to execute in a single thread to eliminate potential race condition

Reviewed-by: alanb, chegar, dfuchs
2013-12-02 14:01:23 +00:00
Lana Steuck
33cd414e58 Merge 2013-11-25 09:40:25 -08:00
Lana Steuck
1a633e63a9 Merge 2013-11-15 07:14:23 -08:00
Tristan Yan
d45f6482a3 8022212: Intermittent test failures in java/net
Reviewed-by: chegar
2013-11-21 13:42:54 +00:00
Michael McMahon
1beab3cc44 8028581: [TESTBUG] java/net/Socket/LingerTest.java failing
Reviewed-by: alanb
2013-11-19 17:49:57 +00:00
Chris Hegarty
f9ecbb8f7d 8022213: Intermittent test failures in java/net/URLClassLoader
Reviewed-by: dxu, alanb
2013-11-13 16:44:12 +00:00
Sergey Bylokhov
9ab430a0d2 8027696: Incorrect copyright header in the tests
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04:00
Michael McMahon
536e058b8b 8028060: test/java/net/URLPermission/nstest/lookup.sh failing (win)
Reviewed-by: alanb
2013-11-11 16:06:16 +00:00
Chris Hegarty
44a19639b3 8019834: InetAddress.getByName hangs for bad IPv6 literals
Reviewed-by: alanb
2013-11-08 15:15:48 +00:00
Tristan Yan
92076375e9 8022963: java/net/NetworkInterface/Equals.java fails equality for Windows Teredo Interface
Reviewed-by: chegar
2013-11-08 15:12:30 +00:00
Michael McMahon
bffc06393b 8027881: test/java/net/URLPermission/nstest/LookupTest.java failing intermittently, output insufficient
Reviewed-by: chegar
2013-11-07 10:22:11 +00:00
Michael McMahon
2d8325d244 8027687: The constructors of URLPermission class do not behave as described in javad
Reviewed-by: chegar, mduigou
2013-11-04 17:47:59 +00:00
Michael McMahon
9031374301 Merge 2013-10-30 18:38:20 +00:00
Michael McMahon
76f1c66ad5 8027570: NullPointerException in URLPermission.hashCode()
Reviewed-by: chegar
2013-10-30 18:37:50 +00:00
Dan Xu
bdb08c592d 7122887: JDK ignores Gnome3 proxy settings
Fix GConf and add to use GProxyResolver to handle network proxy resolution

Reviewed-by: chegar
2013-10-23 22:30:35 -07:00
Chris Hegarty
28fc7fbaeb 8020758: HttpCookie constructor does not throw IAE when name contains a space
Reviewed-by: michaelm, msheppar
2013-10-23 14:38:22 +01:00
Michael McMahon
b7d5f19fe0 8025734: Use literal IP address where possible in SocketPermission generated by HttpURLPermission
Reviewed-by: chegar
2013-10-23 11:00:12 +01:00
Brian Burkhalter
d2d0153dd6 7179567: JCK8 tests: api/java_net/URLClassLoader/index.html#Ctor3 failed with NPE
6445180: URLClassLoader does not describe the behavior of several methods with respect to null arguments

Document when a NPE will be thrown by URLClassLoader constructors, newInstance(), findClass(), and getPermissions().

Reviewed-by: alanb, mduigou, chegar, dholmes, jrose
2013-10-22 11:25:01 -07:00
Tristan Yan
dc564c1a27 8017779: java/net/Authenticator/B4769350.java fails
Co-authored-by: Kurchi Subhra Hazra <kurchisubhra@gmail.com>
Reviewed-by: chegar
2013-10-22 14:00:16 +01:00
Ivan Gerasimov
6b2d8a5049 8023390: Test java/net/NetworkInterface/MemLeakTest.java failed with the latest jdk8 build
Removing the test as it is unreliable and fails intermittently

Reviewed-by: chegar
2013-10-15 18:41:23 +04:00
Michael McMahon
70e5173968 8014719: HttpClient/ProxyTest.java failing with IAE HttpURLPermission.parseURI
Reviewed-by: alanb, chegar
2013-10-14 22:09:15 +01:00
Tristan Yan
904f946258 8023555: test/java/net/Socks/SocksProxyVersion.java fails when machine name is localhost
Reviewed-by: chegar, alanb
2013-10-14 11:47:54 +01:00
Rob McKenna
1fe89b3d70 8026245: InetAddress.getLocalHost crash if IPv6 disabled (macosx)
Reviewed-by: chegar, alanb
2013-10-16 15:06:27 +01:00
Chris Hegarty
3486abb2c7 Merge 2013-10-15 13:54:01 +01:00
Chris Hegarty
766e77499d Merge 2013-10-15 09:27:32 +01:00
Chris Hegarty
6088b141e2 Merge 2013-10-03 19:06:43 +01:00
Sean Coffey
8d0e77641f 8024952: ClassCastException in PlainSocketImpl.accept() when using custom socketImpl
Reviewed-by: chegar
2013-10-02 09:21:02 +01:00
Mark Sheppard
4d540aa581 6458027: Disabling IPv6 on a specific network interface causes problems
Added a check to test if an interface is configured for IPv6 to native code TwoStacklainDatagramSocketImpl: getMulticastInterface, setMulticastInterface

Reviewed-by: chegar, michaelm
2013-09-16 14:51:48 +01:00
Mark Sheppard
767ab8c9ae 8024675: java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows
Amended test to add active, i.e. isUp(), NetworkInterfaces to test list

Reviewed-by: alanb, chegar
2013-09-13 12:20:53 +01:00
Chris Hegarty
9e8f2037d0 8023090: Additional debug info for java/net/NetworkInterface/Equals.java
Reviewed-by: alanb
2013-09-11 11:32:50 +01:00
Mark Sheppard
ab579cbd5f 8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address
Amended src/windows/native/java/net/NetworkInterface_winXP.c to "properly" handle Ipv6IfIndex

Reviewed-by: chegar, dsamersoff
2013-09-09 13:44:30 +01:00
Mark Sheppard
92c43dcb6a 8023326: [TESTBUG] java/net/CookieHandler/LocalHostCookie.java misplaced try/finally
Amended test to be more robust to set of potential exceptions thrown

Reviewed-by: chegar, khazra
2013-09-06 15:00:59 +01:00
Chris Hegarty
369c079b32 Merge 2013-08-30 09:37:29 +01:00
Xue-Lei Andrew Fan
2e2313ef87 8020842: IDN do not throw IAE when hostname ends with a trailing dot
Reviewed-by: weijun, michaelm
2013-08-19 17:42:39 -07:00
Chris Hegarty
60e31c0960 Merge 2013-08-15 21:44:35 +01:00
Xue-Lei Andrew Fan
cd65f6f973 8023881: IDN.USE_STD3_ASCII_RULES option is too strict to use Unicode in IDN.toASCII
Reviewed-by: michaelm
2013-08-29 18:58:18 -07:00
Aleksei Efimov
3eae3a200c 8021820: Number of opened files used in select() is limited to 1024 [macosx]
Reviewed-by: alanb, chegar, tbell, smarks
2013-08-16 18:41:35 +04:00
Ivan Gerasimov
d72491e426 8022584: Memory leak in some NetworkInterface methods
Reviewed-by: alanb, dholmes, chegar, michaelm
2013-08-13 13:04:21 +04:00
Alan Bateman
9aceb41d6d 8022921: Remove experimental Profile attribute
Reviewed-by: mchung, chegar
2013-08-15 11:54:05 +01:00
Michael McMahon
a775b1ae8d 8015743: Address internet addresses
Reviewed-by: alanb, khazra, skoivu
2013-07-18 18:52:14 +01:00
Chris Hegarty
04449cd1a9 8022344: Additional debug info for test/java/net/NetworkInterface/IndexTest.java
Reviewed-by: michaelm, alanb
2013-08-06 15:35:20 +01:00
John Zavgren
0faa9a064f 8015799: HttpURLConnection.getHeaderFields() throws IllegalArgumentException
Reviewed-by: chegar, dsamersoff, khazra
2013-06-28 16:38:09 +01:00
Chris Hegarty
92d31ec9c3 8014499: MulticastSocket should enable IP_MULTICAST_ALL (lnx)
Co-authored-by: John Zavgren <john.zavgren@oracle.com>
Reviewed-by: alanb, chegar
2013-06-20 18:53:57 +01:00
Kurchi Subhra Hazra
eb00b0e4f3 7169142: CookieHandler does not work with localhost
Add .local to derived effective hostnames without dot

Reviewed-by: chegar
2013-06-13 17:48:11 -07:00
Kurchi Subhra Hazra
7153278427 7051862: CookiePolicy spec conflicts with CookiePolicy.ACCEPT_ORIGINAL_SERVER
Return false for null arguments in ACCEPT_ORIGINAL_SERVER#shouldAccept()

Reviewed-by: chegar
2013-06-07 10:59:41 -07:00
John Zavgren
ae11ef7f7f 7188517: Check on '$' character is missing in the HttpCookie class constructor
Modified the constructor code so that the cookie names are examined for leading dollar signs and if they do, an illegal argument exception is thrown.

Reviewed-by: chegar, khazra, michaelm
2013-05-31 15:18:15 -04:00
Chris Hegarty
608c513883 7107883: getNetworkPrefixLength() does not return correct prefix length
Reviewed-by: alanb, michaelm
2013-05-31 09:30:44 +01:00
Chris Hegarty
fa23123952 Merge 2013-05-17 16:44:36 +01:00
Chris Hegarty
d6531cbf9f 8014783: java/net/HttpURLPermission/HttpURLPermissionTest.java leaves files open
Reviewed-by: michaelm
2013-05-17 16:44:15 +01:00
Kurchi Subhra Hazra
83505983f5 7150552: network test hangs [macosx]
Remove usage of test/sun/net/www/httptest

Reviewed-by: chegar
2013-05-16 10:58:20 -07:00
Michael McMahon
527399b98c 8010464: Evolve java networking same origin policy
Reviewed-by: alanb, chegar, dsamersoff, weijun
2013-05-15 15:01:59 +01:00
Chris Hegarty
49619272d0 6594296: NetworkInterface.getHardwareAddress returns zero length byte array
Reviewed-by: alanb
2013-05-01 10:03:39 +01:00
Mark Sheppard
8394ed673f 8007373: Inet6Address serialization incompatibility
Reviewed-by: alanb, chegar
2013-04-29 23:07:22 +01:00
Lana Steuck
8afbe69644 Merge 2013-04-17 21:48:04 -07:00
David Katleman
24ec30a8e7 Merge 2013-04-16 15:00:19 -07:00
Chris Hegarty
dc668d18a3 8012244: java/net/Socket/asyncClose/Race.java fails intermittently on Windows
Reviewed-by: alanb, dsamersoff
2013-04-16 13:26:30 +01:00
David Katleman
930dcf7d28 8012048: JDK8 b85 source with GPL header errors
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:33 -07:00
Christos Zoulas
a7b0073f5a 5001942: Missings SOCKS support for direct connections
Add support for socksNonProxyHosts

Reviewed-by: chegar, khazra
2013-04-05 12:12:34 -07:00
Chris Hegarty
7d6b4b81de 6370908: Add support for HTTP_CONNECT proxy in Socket class
Co-authored-by: Damjan Jovanovic <damjan.jov@gmail.com>
Reviewed-by: chegar
2013-03-07 10:07:13 +00:00
Lana Steuck
835c35dc91 Merge 2013-02-21 17:43:57 -08:00
David Holmes
390cc1d7a1 Merge 2013-02-17 16:44:19 -05:00
Chris Hegarty
5c9a25d2d2 8008223: java/net/BindException/Test.java fails rarely
Reviewed-by: khazra, alanb
2013-02-15 11:06:52 +00:00
David Holmes
eb1726c151 Merge 2013-02-04 18:08:50 -05:00
Chris Hegarty
b61bb15030 8007322: untangle ftp protocol from general networking URL tests
Reviewed-by: alanb
2013-02-02 17:15:13 +00:00
Chris Hegarty
d0830009e8 8006395: Race in async socket close on Linux
Reviewed-by: alanb, dsamersoff
2013-02-01 06:51:37 +00:00
Alan Bateman
99f3285106 8003255: (profiles) Update JAR file specification to support profiles
Reviewed-by: dholmes, mchung, ksrini
2013-01-21 23:20:42 -05:00
Chris Hegarty
6b32c387f1 8006560: java/net/ipv6tests/B6521014.java fails intermittently
Reviewed-by: khazra, wetmore
2013-01-20 09:37:51 +00:00
Kurchi Subhra Hazra
8f2bd71dc9 7171415: java.net.URI.equals/hashCode not consistent for some URIs
Rewrite URI.hashCode() to consider encoded characters, also reviewed by vitalyd@gmail.com, schlosna@gmail.com

Reviewed-by: chegar
2013-01-17 14:50:02 -08:00
Alan Bateman
c12b624078 8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
Reviewed-by: chegar
2013-01-11 20:19:55 +00:00
Lana Steuck
33a20f586c Merge 2013-01-01 17:49:22 -08:00
Chris Hegarty
c2f4000a6f 8005556: java/net/Socks/SocksV4Test.java is missing @run tag
Reviewed-by: alanb
2012-12-29 11:00:15 +00:00
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Rob McKenna
7524cd99c1 8000525: Java.net.httpcookie api does not support 2-digit year format
Reviewed-by: chegar
2012-12-13 15:28:40 +00:00
Mark Sheppard
c9063f559f 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Chris Hegarty
453bef09b0 8004675: Inet6Address.getHostAddress should use string scope identifier where available
...and some minor stylistic cleanup

Reviewed-by: khazra, dsamersoff, michaelm
2012-12-13 14:33:32 +00:00
Chris Hegarty
2f8cd2937d 8004925: java/net/Socks/SocksV4Test.java failing on all platforms
Reviewed-by: alanb, dsamersoff
2012-12-13 09:55:55 +00:00
Rob McKenna
f0bbdd0834 8003597: TEST_BUG: Eliminate dependency on javaweb from closed net tests
Reviewed-by: chegar
2012-11-28 00:47:38 +00:00
Chris Hegarty
24fde021e4 8003833: Spurious NPE from Socket.getIn/OutputStream
Reviewed-by: alanb, dsamersoff
2012-11-27 17:15:19 +00:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Lana Steuck
736ab82961 Merge 2012-10-23 11:29:53 -07:00
Abhijit Saha
93e31619c4 Merge 2012-10-10 14:31:07 -07:00
Sean Coffey
23b1ff04af 7181793: Socket getOutputStream create streams that cannot be GC'ed until Socket is closed
Reviewed-by: alanb, chegar
2012-10-09 19:45:17 +01:00
Weijun Wang
8e21ad5768 7198205: CloseTest fails on mac
Reviewed-by: alanb, chegar, michaelm
2012-09-17 17:19:50 +08:00
John Zavgren
8fbd047f8c 6354758: rename old test HttpServer classes
Reviewed-by: chegar, michaelm, khazra
2012-09-07 15:30:17 +01:00
Eric Wang
de965a866a 7032247: java/net/InetAddress/GetLocalHostWithSM.java fails if hostname resolves to loopback address
TESTBUG

Reviewed-by: chegar, alanb
2012-09-07 14:00:31 +01:00
Chris Hegarty
84603e4d94 7189567: java net obselete protocol
Reviewed-by: alanb, ahgross
2012-08-29 14:05:37 +01:00
Christian Schulte
d947b5d95a 7188755: Crash due to missing synchronization on gconf_client in DefaultProxySelector.c
Reviewed-by: chegar
2012-08-12 22:56:45 +01:00
Eric Wang
d74533b1eb 7081476: test/java/net/InetSocketAddress/B6469803.java failing intermittently
Reviewed-by: chegar
2012-07-19 18:19:04 +01:00
Michael McMahon
94f61c976b 7183292: HttpURLConnection.getHeaderFields() throws IllegalArgumentException: Illegal cookie name
Reviewed-by: khazra, chegar
2012-07-18 18:46:17 +01:00
Abhijit Saha
b74ef2f6b6 Merge 2012-06-07 12:31:10 -07:00
Sean Coffey
6e3d96dc67 7123896: Unexpected behavior due to Solaris using separate IPv4 and IPv6 port spaces
Reviewed-by: alanb
2012-05-17 12:21:16 +01:00
Deven You
abd7e74713 7163874: InetAddress.isReachable should support pinging 0.0.0.0
Reviewed-by: alanb, chegar
2012-05-11 16:20:46 +08:00
Kurchi Subhra Hazra
56132c0447 7045655: An empty InMemoryCookieStore should not return true for removeAll
CookieStore.removeAll() should return false for an empty CookieStore

Reviewed-by: chegar
2012-03-15 13:21:16 -07:00
Chris Hegarty
015d7657e7 7152796: TEST_BUG: java/net/Socks/SocksV4Test.java does not terminate
Reviewed-by: alanb
2012-03-13 09:33:50 +00:00
Alan Bateman
3269d85838 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Chris Hegarty
1f16d123b1 7128648: HttpURLConnection.getHeaderFields should return an unmodifiable Map
Reviewed-by: michaelm
2012-01-11 10:52:25 +00:00
Kurchi Subhra Hazra
ed977156e5 7102704: test/java/net/DatagramSocket/ChangingAddress.java failing
Reviewed-by: chegar
2011-10-20 09:08:38 +01:00
Chris Hegarty
1d5bbbec86 7095949: java/net/URLConnection/RedirectLimit.java and Redirect307Test fail intermittently
Reviewed-by: alanb
2011-10-04 16:37:08 +01:00
Kurchi Subhra Hazra
ebd4f912d7 6953455: CookieStore.add() cannot handle null URI parameter, contrary to the API
Reviewed-by: chegar, mduigou
2011-10-04 13:48:41 +01:00
Kurchi Subhra Hazra
8987ea2bdf 7084030: DatagramSocket.getLocalAddress inconsistent on XP/2003 when IPv6 enabled and socket is connected
Use family of connected IP address to retrieve desired local address of the datagram socket

Reviewed-by: chegar
2011-09-26 11:48:37 -07:00
Chris Hegarty
bfeee8da4d 7041800: URI.equals may incorrectly return true with escaped octets
Reviewed-by: alanb, michaelm
2011-09-01 13:53:59 +01:00
Chris Hegarty
db62441424 7014860: Socket.getInputStream().available() not clear for shutdown input
Reviewed-by: alanb, michaelm
2011-09-01 06:45:00 +01:00
Sean Chou
3217c0283e 7023713: HttpCookie.domainMatches("hostname.local", "hostname") should return true
Reviewed-by: chegar
2011-08-22 14:09:28 +01:00
Chris Hegarty
59d409ada5 7076523: TEST_BUG: test/java/net/NetworkInterface/NetParamsTest.java can fail with NPE
Reviewed-by: alanb
2011-08-10 12:30:29 +01:00
Xue-Lei Andrew Fan
2ee0410a0c 7068662: Reserve and restore the default locale
Reviewed-by: alanb, weijun
2011-07-29 02:50:58 -07:00
Chris Hegarty
39aba3b4cf 7021280: SocketPermission should accept wildcards
Reviewed-by: michaelm
2011-07-18 22:25:58 +01:00
Michael McMahon
9ed202225f 7050028: ISE "zip file closed" from JarURLConnection.getInputStream on JDK 7 when !useCaches
Reviewed-by: chegar, alanb
2011-06-08 10:56:11 +01:00
Chris Hegarty
f1659ec169 7030649: URL.equals() fails to compare jar urls
Reviewed-by: michaelm
2011-04-18 11:14:28 +01:00
Kelly O'Hair
d2b1e20c7d 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Chris Hegarty
b6f518d3c1 7023363: URI("ftp", "[www.abc.com]", "/dir1/dir2", "query", "frag") should throw URISyntaxException
Reviewed-by: alanb, michaelm
2011-03-11 13:50:09 +00:00
Charles Lee
15ddaff2ab 7026346: URLConnection.guessContentTypeFromStream does not support UTF-8 and UTF-32 xml streams with BOM
Reviewed-by: alanb
2011-03-11 08:57:14 +00:00
Chris Hegarty
9607630405 7020136: java/net/URLConnection/RedirectLimit.java fails intermittently
Increase the socket timeout and clean up the test

Reviewed-by: alanb
2011-02-24 12:57:59 +00:00
Alan Bateman
26b3b9744f 7015410: test/java/net/Socks/SocksProxyVersion.java needs to be updated due to 7013420
Reviewed-by: chegar
2011-01-28 13:26:14 +00:00
Chris Hegarty
e615d63fad 7012768: InetAddress lookupTable leaks/deadlocks when using unsupported name service spi
Reviewed-by: alanb, michaelm
2011-01-21 17:02:57 +00:00
Michael McMahon
f8bfe29fae 7003398: NetworkInterface equals() and hashCode() behaviors depend on permissions granted
Reviewed-by: chegar, alanb
2011-01-13 16:33:07 +00:00
Michael McMahon
16604f391f Merge 2011-01-13 14:41:53 +00:00
Chris Hegarty
ab0fe3d421 6964547: Impossible to set useV4 in SocksSocketImpl
Add socksProxyVersion property

Reviewed-by: alanb, michaelm
2011-01-13 13:24:58 +00:00
Michael McMahon
7558885d92 Merge 2011-01-13 11:10:14 +00:00
Michael McMahon
de3e3830d2 6896088: URLClassLoader.close() apparently not working for JAR URLs on Windows
Reviewed-by: chegar
2011-01-13 11:01:30 +00:00
Michael McMahon
058b35d369 6829919: URLClassLoader.close() doesn't close resource file if getResourceAsStream(...) was called before
Reviewed-by: chegar
2011-01-12 15:05:10 +00:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Michael McMahon
8eca7db307 6339649: URI.create should include a detail message when throwing IllegalArgumentException
Create enclosing exception with message of enclosed

Reviewed-by: alanb, chegar
2010-08-17 14:49:01 +01:00
Chris Hegarty
c7d240fc1a 6970262: TEST_BUG: test/java/net/NetworkInterface/IPv4Only.java has wrong test name in @run tag
Reviewed-by: alanb, dsamersoff
2010-07-21 13:52:38 +01:00
Chris Hegarty
2890d62dbb 6969395: TEST_BUG: Tests in java/net sun/net problems
Reviewed-by: alanb
2010-07-21 13:29:26 +01:00
Dmitry Samersoff
bd18ff374c 6964714: NetworkInterface getInetAddresses enumerates IPv6 addresses if java.net.preferIPvStack property set
User can disable ipv6 explicitly, have to check it

Reviewed-by: chegar, alanb
2010-07-13 15:32:36 +04:00
Chris Hegarty
25c1ab1e55 6967937: Scope id no longer being set after 6931566
Reviewed-by: alanb, dsamersoff
2010-07-12 18:13:40 +01:00
Chris Hegarty
8dd995ca0d 6961029: java/net/BindException/Test.java should not use wildcard address
Reviewed-by: michaelm, alanb
2010-06-28 20:52:37 +01:00
Chris Hegarty
85a8187c52 6954525: Testcase failure java/net/Authenticator/B4769350.java
Reviewed-by: michaelm, weijun
2010-06-28 14:55:25 +01:00
Chris Hegarty
2f408651fb 6957375: java/net/ResponseCache getResponseCode and ResponseCacheTest fail after rebranding
Reviewed-by: ohair, wetmore, alanb
2010-06-08 10:46:14 +01:00
Lana Steuck
fd45b4188c Merge 2010-05-28 12:10:14 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Michael McMahon
8f950e676a 6773270: java.net.URI fails to escape \u0000
Check for \u0000

Reviewed-by: alanb
2010-05-21 07:29:48 +01:00
Chris Hegarty
77a56e5d33 6718504: IN6_IS_ADDR_ANY tests only 12 bytes of 16-byte address
Reviewed-by: alanb
2010-04-27 09:42:51 +01:00
Chris Hegarty
cb7c94da7e 6648001: Cancelling HTTP authentication causes subsequent deadlocks
Reviewed-by: michaelm
2010-04-06 13:47:59 +01:00
Chris Hegarty
6fb499dc04 6937703: java/net regression test issues with samevm
Reviewed-by: alanb
2010-03-25 09:38:56 +00:00
Chris Hegarty
6fb9ea7278 6935233: java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java fails with modules build
Reviewed-by: alanb
2010-03-19 13:07:42 +00:00
Chris Hegarty
9b23617373 6935199: java/net regression tests failing with Assertions
Reviewed-by: michaelm
2010-03-16 14:31:57 +00:00
Chris Hegarty
f2034e6bba 6934923: test/java/net/ipv6tests/TcpTest.java hangs on Solaris 10
Reviewed-by: alanb
2010-03-16 10:05:51 +00:00
Damjan Jovanovic
63a75eead0 6223635: Code hangs at connect call even when Timeout is specified when using a socks proxy
Reviewed-by: michaelm, chegar
2010-03-11 17:50:30 +00:00
Chris Hegarty
9cf7c0352d 6933629: java/net/HttpURLConnection/HttpResponseCode.java fails if run in samevm mode
Reviewed-by: alanb
2010-03-11 17:37:33 +00:00
Chris Hegarty
ae14beadd3 6934054: java/net/Socket/FDClose.java return error in samevm
Test is no longer useful

Reviewed-by: alanb
2010-03-11 16:17:57 +00:00
Chris Hegarty
77c61b9819 6933618: java/net/MulticastSocket/NoLoopbackPackets.java fails when rerun
Reviewed-by: alanb
2010-03-10 14:44:53 +00:00
Damjan Jovanovic
6e3ed53d0a 6912868: "java.net.useSystemProxies" behavior fails to check "use_same_proxy" in GNOME
Reviewed-by: alanb, chegar
2010-02-22 15:27:11 +00:00
Chris Hegarty
ee38364a92 6693244: Java Web Start app fails on 6u10 beta w/ AssertionError in AuthenticationInfo.requestCompleted
Reviewed-by: michaelm
2010-02-10 13:23:50 +00:00
Chris Hegarty
1891bb8f68 6707289: InterfaceAddress.getNetworkPrefixLength() does not conform to Javadoc
Reviewed-by: michaelm
2010-01-25 15:41:37 +00:00
Joe Darcy
c40412f4f4 6907177: Update jdk tests to remove unncessary -source and -target options
Reviewed-by: ohair
2009-12-03 18:19:10 -08:00
Jean-Christophe Collet
4da1e67db3 6901170: HttpCookie parsing of version and max-age mis-handled
Accept single quotes in cookies and better exception handling in CookieManager

Reviewed-by: chegar
2009-11-20 14:50:55 +01:00
Jean-Christophe Collet
48792ee40c 6873543: CookieManager doesn't enforce httpOnly
Adds check for httpOnly tag and clarifies javadoc

Reviewed-by: chegar
2009-10-21 13:42:39 +02:00
Chris Hegarty
67bff2db55 6887364: SetOutgoingIf.java fails if run on multihomed machine without PIv6 on all interfaces
Reviewed-by: alanb
2009-10-07 17:23:02 +01:00
Michael McMahon
45d2886ea7 6870935: DIGEST proxy authentication fails to connect to URLs with no trailing slash
Reviewed-by: chegar
2009-10-02 13:57:41 +01:00
Michael McMahon
bf7ffbe0c0 Merge 2009-10-01 11:25:22 +01:00
Pavel Tisnovsky
3bb6edd167 6884837: JTReg test SetOutgoingIf is not correct
Added check of network interfaces status

Reviewed-by: alanb, chegar
2009-09-30 11:49:10 +02:00
Michael McMahon
ef945f9722 6886108: Test case B4933582 binding to fixed port number
Reviewed-by: chegar
2009-09-29 10:00:57 +01:00
Jean-Christophe Collet
19396438bb 6737819: sun.misc.net.DefaultProxySelector doesn't use proxy setting to localhost
Move default nonProxyHosts from hardcoded to property default value

Reviewed-by: chegar
2009-09-18 10:51:44 +02:00
Bradford Wetmore
fc188b8b29 6867657: Many JSN tests do not run under cygwin
Reviewed-by: ohair
2009-08-06 17:56:59 -07:00
Michael McMahon
f9268d3c20 6827999: 6827999: URLClassLoader.addURL(URL) adds URLs to closed class loader
Reviewed-by: chegar
2009-06-29 15:05:15 +01:00
Jean-Christophe Collet
97c0be0045 6349566: java.net.CookieManager doesn't set default domain
Enforce default domain in CookieManager

Reviewed-by: michaelm
2009-05-25 22:27:26 +02:00
Jean-Christophe Collet
57a4df4e50 6791927: Wrong Locale in HttpCookie::expiryDate2DeltaSeconds
Force Locale.US when parsing the cookie expiration date.

Reviewed-by: chegar
2009-02-02 16:50:54 +01:00
Michael McMahon
71dfa4d2db 4167874: URL-downloaded jar files can consume all available file descriptors
Added close method to URLClassLoader

Reviewed-by: alanb
2009-01-30 22:05:30 +00:00
Jean-Christophe Collet
285d905e09 6790677: java.net.HttpCookie.parse(String) should ignore unrecognized attributes, RFC2965
Changed code not to throw an exception on unknown attributes

Reviewed-by: chegar
2009-01-27 11:36:28 +01:00
Xiomara Jayasena
cc8641d33a 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:25 -08:00
Bradford Wetmore
c63de8e0a8 Merge 2008-10-06 09:17:35 -07:00
Xiomara Jayasena
6e86513c3a 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:32 -07:00
Chris Hegarty
4f54397ad8 6752807: java.net test ADatagramSocket.sh is broken
Update bootclasspath set by test to simply prepend TESTCLASSES

Reviewed-by: michaelm
2008-09-26 11:24:04 +01:00
Jean-Christophe Collet
9b311f9a7b 6692802: HttpCookie needs to support HttpOnly attribute
Added HttpOnly tag support to HttpCookie class.

Reviewed-by: chegar, michaelm
2008-09-04 15:26:53 +02:00
Jean-Christophe Collet
29241c7694 6717876: Make java.net.NetworkInterface.getIndex() public
Make getIndex() and getByIndex() public. Required a name change in native code

Reviewed-by: alanb, chegar, michaelm
2008-08-25 14:38:20 +02:00
Bradford Wetmore
54618c0601 Merge 2008-07-23 12:16:28 -07:00
Xiomara Jayasena
2617d1d179 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:45 -07:00
Jean-Christophe Collet
3fce795f6c 6656849: NullPointerException thrown while de-serializing IPV6 Address
Check for existence of interface name earlier in code

Reviewed-by: michaelm
2008-07-01 13:38:59 +02:00
Jean-Christophe Collet
18ff524a84 6558853: getHostAddress() on connections using IPv6 link-local addrs should have zone id
Set the scope_id_set flag when necessary

Reviewed-by: chegar
2008-04-18 15:23:27 +02:00
Jean-Christophe Collet
2dc88cc9c9 6644726: Cookie management issues
Many changes to accomodate RFC 2965 and old Netscape specs

Reviewed-by: chegar
2008-04-17 11:05:33 +02:00
Chris Hegarty
349fef2b70 6628576: InterfaceAddress.equals() NPE when broadcast field == null
Update logic in equals to correctly handle nulls.

Reviewed-by: michaelm
2008-03-07 13:00:44 +00:00
Bradford Wetmore
9a2759ee8d 6623830: SCCS cleanup has broken two regression tests
Reviewed-by: chegar
2008-03-06 10:35:28 -08:00
Jean-Christophe Collet
ffacce2397 6641309: Wrong Cookie separator used in HttpURLConnection
Added a space to cookie separator. Generified the code and added tags.

Reviewed-by: chegar
2008-03-05 11:40:22 +01:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00