# HG changeset patch # User coffeys # Date 1299171604 0 # Node ID 460a150e05af7f3e0006f4876e4eb1029ae1d0ee # Parent d99f879a35abc278d40ec8ca390d9b19a63d4b1c# Parent 4b287f6663b662dab76b56c5cf0d2ecdcd6d0884 Merge diff -r d99f879a35ab -r 460a150e05af jdk/src/share/classes/java/net/URI.java --- a/jdk/src/share/classes/java/net/URI.java Thu Mar 03 16:51:03 2011 +0000 +++ b/jdk/src/share/classes/java/net/URI.java Thu Mar 03 17:00:04 2011 +0000 @@ -991,7 +991,7 @@ * authority and path are taken from the given URI.
* *Otherwise the new URI's authority component is copied from - * this URI, and its path is computed as follows:
Two hierarchical URIs with identical schemes are ordered - * according to the ordering of their authority components:
Finally, two hierarchical URIs with identical schemes and * authority components are ordered according to the ordering of their diff -r d99f879a35ab -r 460a150e05af jdk/src/share/classes/java/net/package.html --- a/jdk/src/share/classes/java/net/package.html Thu Mar 03 16:51:03 2011 +0000 +++ b/jdk/src/share/classes/java/net/package.html Thu Mar 03 17:00:04 2011 +0000 @@ -31,18 +31,18 @@
The java.net package can be roughly divided in two sections:
A Low Level API, which deals with the following abstractions:
A Low Level API, which deals with the following abstractions:
Addresses, which are networking identifiers, like IP addresses.
Sockets, which are basic bidirectional data communication mechanisms.
Interfaces, which describe network interfaces.
A High Level API, which deals with the following abstractions:
A High Level API, which deals with the following abstractions:
URIs, which represent Universal Resource Identifiers.
URLs, which represent Universal Resource Locators.
Connections, which represents connections to the resource pointed to by URLs.
Addresses are used throughout the java.net APIs as either host identifiers, or socket endpoint identifiers.
diff -r d99f879a35ab -r 460a150e05af jdk/test/java/lang/Thread/StartOOMTest.java --- a/jdk/test/java/lang/Thread/StartOOMTest.java Thu Mar 03 16:51:03 2011 +0000 +++ b/jdk/test/java/lang/Thread/StartOOMTest.java Thu Mar 03 17:00:04 2011 +0000 @@ -22,11 +22,14 @@ */ /* - * @test - * @bug 6379235 - * @ignore until 6721694 is fixed - * @run main/othervm -server -Xmx32m -Xms32m -Xss256m StartOOMTest - * @summary ThreadGroup accounting mistake possible with failure of Thread.start() + * This test is relatively useful for verifying 6379235, but + * is too resource intensive, especially on 64 bit systems, + * to be run automatically, see 6721694. + * + * When run it should be typically be run with the server vm + * and a relatively small java heap, and a large stack size + * ( to provoke the OOM quicker ). + * java -server -Xmx32m -Xms32m -Xss256m StartOOMTest */ import java.util.*;