< prev index next >

src/java.base/share/classes/java/net/JarURLConnection.java

Print this page
rev 13123 : 8132734: JDK 9 runtime changes to support multi-release jar files
Summary: JEP 238 Multi-Release JAR Files runtime support
Contributed-by: steve.drach@oracle.com
rev 10469 : 8054834: Modular Source Code
Reviewed-by: alanb, chegar, ihse, mduigou
Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, chris.hegarty@oracle.com, erik.joelsson@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, magnus.ihse.bursie@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, paul.sandoz@oracle.com

*** 121,130 **** --- 121,142 ---- * * </dl> * * </ul> * + * <p>Subclasses of {@code JarURLConnection} that support multi-release JAR files + * should support URLs that refer to JAR runtime versioned entries. Such a URL + * is a URL referring to an entry modified to include the fragment + * {@code runtime}. Subclasses that do not support multi-release JAR files + * should ignore the fragment and process such URLs as if the fragment were not + * present. For example: + * + * <p>{@code jar:http://www.foo.com/bar/jar.jar!/baz/entry#runtime} + * + * <p>For information about multi-release jar files, see the specification for + * {@link JarFile}. + * * @see java.net.URL * @see java.net.URLConnection * * @see java.util.jar.JarFile * @see java.util.jar.JarInputStream
< prev index next >