Upgradeable Modules Question
ropalka at redhat.com
Wed Sep 7 07:49:53 UTC 2016
On 09/07/2016 08:24 AM, Alan Bateman wrote:
> On 06/09/2016 23:37, Alex Buckley wrote:
>> On 9/6/2016 3:31 PM, Richard Opalka wrote:
>>> Can Jigsaw module be both upgreadeable and automatic?
>> No. By definition, an upgradeable module is a module linked into a
>> runtime image. An automatic module is not linked into a runtime image.
> Maybe the question is asking if it's possible to deploy an automatic
> module on the upgrade module path to upgrade a module in the runtime
> image? That is possible of course (and necessary in the case of the
> java.transaction module because the EE version has dependences that
> aren't modules yet).
Your guess was correct Alan (my english isn't perfect).
Yes my distorted question was whether it should be possible to
"upgrade" Jigsaw module with automatic module.
Few more questions:
* Module java.se.ee defines list of upgradeable modules (related to EE).
Is it enforced by JDK (at both compile time and runtime)
only upgradeable modules can be upgraded?
There are no other upgradeable modules except
those listed in java.se.ee, right?
Or one could upgrade any module not provided by Boot loader?
* Both AppClassLoader and PlatformClassLoader don't override
ClassLoader.getResource(String) method which fallbacks to NOOP
ClassLoader::findResource(String). Shouldn't they implement it?
I'm asking because I upgraded JAXB module locally with automatic module.
provided there but resourceLookup doesn't work.
More information about the jigsaw-dev