A variant of this problem is under consideration, which may address your use case.

In the meantime, the workaround is to make sure there is no evidence of java.base on the module source path.

-- Jon

On 11/02/2016 10:11 AM, Remi Forax wrote:
I agree with that, but that's not my use case.
I want to add/override files to java.base (an existing module) with 
--patch-module when i compile several other modules with --module-source-path, 
i think this should be allowed, otherwise it will be hard to patch the JDK and 
see the effect on several modules.

Rémi

----- Mail original -----
Envoyé: Mercredi 2 Novembre 2016 17:57:58
Objet: Re: javac --module-source-path and --patch-module do not work together
On 11/02/2016 09:49 AM, Remi Forax wrote:
I agree that if there is a folder java.base in the module-source-path, it should
be used but this is not the case.
Here, i want to add files to an existing modules (java.base) and those files are
in output/classes not in src.
You currently can't add files with --patch-module to a module found with
--module-source-path.

-- Jon

Reply via email to