RFR 8172732: spec clarification for URLClassLoader for Multirelease jars
Paul Sandoz
paul.sandoz at oracle.com
Fri Jan 20 23:48:36 UTC 2017
Hi,
Please review this small clarification to the specification of URLClassLoader for multi-release jars.
Thanks,
Paul.
diff -r 467b3b7aeb1b src/java.base/share/classes/java/net/URLClassLoader.java
--- a/src/java.base/share/classes/java/net/URLClassLoader.java Fri Jan 20 07:05:40 2017 -0800
+++ b/src/java.base/share/classes/java/net/URLClassLoader.java Fri Jan 20 15:47:54 2017 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -73,9 +73,9 @@
* The classes that are loaded are by default granted permission only to
* access the URLs specified when the URLClassLoader was created.
* <p>
- * This class loader supports the loading of classes from the contents of a
- * <a href="../util/jar/JarFile.html#multirelease">multi-release</a> JAR file
- * that is referred to by a given URL.
+ * This class loader supports the loading of classes and resources from the
+ * contents of a <a href="../util/jar/JarFile.html#multirelease">multi-release</a>
+ * JAR file that is referred to by a given URL.
*
* @author David Connelly
* @since 1.2
More information about the core-libs-dev
mailing list