8191420: Changing "requires" to "requires static" in an application module results in build failure
Reviewed-by: tbell
This commit is contained in:
parent
24ea133ea9
commit
56092c76c6
@ -328,8 +328,9 @@ $(MODULE_DEPS_MAKEFILE): $(MODULE_INFOS) \
|
||||
$(NAWK) -v MODULE=$(call GetModuleNameFromModuleInfo, $m) '\
|
||||
BEGIN { if (MODULE != "java.base") printf(" java.base"); } \
|
||||
/^ *requires/ { sub(/;/, ""); \
|
||||
sub(/requires/, ""); \
|
||||
sub(/transitive/, ""); \
|
||||
sub(/requires /, " "); \
|
||||
sub(/ static /, " "); \
|
||||
sub(/ transitive /, " "); \
|
||||
sub(/\/\/.*/, ""); \
|
||||
sub(/\/\*.*\*\//, ""); \
|
||||
gsub(/^ +\*.*/, ""); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user