--- old/src/java.base/share/classes/java/net/URI.java 2017-08-11 15:30:08.075295496 -0700 +++ new/src/java.base/share/classes/java/net/URI.java 2017-08-11 15:30:07.875286710 -0700 @@ -132,23 +132,23 @@ * *
All told, then, a URI instance has the following nine components: * - *
+ *
* * In a given instance any particular component is either undefined or * defined with a distinct value. Undefined string components are @@ -253,32 +253,35 @@ * which are taken from that specification, are used below to describe these * constraints: * - **
+ * * - *+ * Component Type * - * - * Component Type - * scheme {@code String} - * scheme-specific-part {@code String} - * authority {@code String} - * user-info {@code String} - * host {@code String} - * port {@code int} - * path {@code String} - * query {@code String} + * + * fragment {@code String} + * scheme {@code String} + * scheme-specific-part {@code String} + * authority {@code String} + * user-info {@code String} + * host {@code String} + * port {@code int} + * path {@code String} + * query {@code String} * - * fragment {@code String} + *
* **
+ * - * - *+ * alpha + * + *+ * + * Category Description - * alpha *The US-ASCII alphabetic characters, * {@code 'A'} through {@code 'Z'} * and {@code 'a'} through {@code 'z'} digit + *- * digit *The US-ASCII decimal digit characters, * {@code '0'} through {@code '9'} alphanum + *- * alphanum *All alpha and digit characters unreserved + *- * unreserved *All alphanum characters together with those in the string * {@code "_-!.~'()*"} punct + *- * punct *The characters in the string {@code ",;:$&+="} reserved + *- * reserved *All punct characters together with those in the string * {@code "?/[]@"} escaped + *- * escaped *Escaped octets, that is, triplets consisting of the percent * character ({@code '%'}) followed by two hexadecimal digits * ({@code '0'}-{@code '9'}, {@code 'A'}-{@code 'F'}, and * {@code 'a'}-{@code 'f'}) other + ** - * other *The Unicode characters that are not in the US-ASCII character set, * are not control characters (according to the {@link * java.lang.Character#isISOControl(char) Character.isISOControl} @@ -287,7 +290,7 @@ * method) (Deviation from RFC 2396, which is * limited to US-ASCII) The set of all legal URI characters consists of * the unreserved, reserved, escaped, and other