Skip to content

Commit 12ccd21

Browse files
author
Andrew Leonard
committed
8260289: Unable to customize module lists after change JDK-8258411
Reviewed-by: ihse, alanb
1 parent 73c78c8 commit 12ccd21

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

make/common/Modules.gmk

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -26,9 +26,6 @@
2626
ifndef _MODULES_GMK
2727
_MODULES_GMK := 1
2828

29-
# Hook to include the corresponding custom file, if present.
30-
$(eval $(call IncludeCustomExtension, common/Modules.gmk))
31-
3229
################################################################################
3330
# Setup module sets for classloaders
3431

@@ -48,6 +45,11 @@ include $(TOPDIR)/make/conf/docs-modules.conf
4845

4946
include $(TOPDIR)/make/conf/build-module-sets.conf
5047

48+
################################################################################
49+
# Hook to include the corresponding custom file, if present.
50+
# Allowing MODULE list extensions setup above.
51+
$(eval $(call IncludeCustomExtension, common/Modules.gmk))
52+
5153
################################################################################
5254
# Depending on the configuration, we might need to filter out some modules that
5355
# normally should have been included

0 commit comments

Comments
 (0)