Commit Graph

350 Commits

Author SHA1 Message Date
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