On Mon, 25 Jan 2021 13:41:06 GMT, Andrew Leonard <aleon...@openjdk.org> wrote:

>>> @AlanBateman Yes, that's what JDK-8258411 inadvertently changed and I am 
>>> fixing. I am going to now move the common/Modules.gmk 
>>> IncludeCustomExtension after the module-loader-map.conf include.
>> 
>> Andrew, why can't you just use the existing IncludeCustomExtension then to 
>> load your own module-loader-map.conf? Or maybe that's just what you are 
>> going to do?
>
> The previous behavior provided the ability to "extend" the upstream MODULE 
> lists, ie.just add OpenJ9 modules to the base module lists, see: 
> https://github.com/ibmruntimes/openj9-openjdk-jdk/blob/01e13c398721628540babac94ac8663be716c0a8/closed/custom/common/Modules.gmk#L21
> 
> The present 
> https://github.com/openjdk/jdk/blob/master/make/conf/module-loader-map.conf 
> will simply over-write whatever is set in the BOOT_MODULES list.
> 
> What I am now going to do is move the IncludeCustomExtension after the 
> module-loader-map.conf  inclusion.
> The other alternative would be to change module-loader-map.conf so it 
> appended to any existing BOOT_MODULES variable, but I think you suggested 
> that file is a straight conf file?
> 
> @magicus thoughts?

Note, it was the change from "appending" to BOOT_MODULES to just "assigning" 
that broke the existing behaviour with the JDK-8258411 change.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2219

Reply via email to