8208463: jdk.internal.vm.compiler's module-info.java.extra contains duplicated provides of the same service interface

Reviewed-by: mchung
This commit is contained in:
Vladimir Kozlov 2018-08-14 14:08:04 -07:00
parent 773906998a
commit 9cea96184f

View File

@ -124,7 +124,7 @@ $(GENSRC_DIR)/module-info.java.extra: $(GENSRC_DIR)/_gensrc_proc_done
($(CD) $(GENSRC_DIR)/META-INF/providers && \
p=""; \
impl=""; \
for i in $$($(LS) | $(SORT)); do \
for i in $$($(GREP) '^' * | $(SORT) -t ':' -k 2 | $(SED) 's/:.*//'); do \
c=$$($(CAT) $$i | $(TR) -d '\n\r'); \
if test x$$p != x$$c; then \
if test x$$p != x; then \