8208463: jdk.internal.vm.compiler's module-info.java.extra contains duplicated provides of the same service interface
Reviewed-by: mchung
--- a/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk Tue Aug 14 14:58:14 2018 -0400
+++ b/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk Tue Aug 14 14:08:04 2018 -0700
@@ -124,7 +124,7 @@
($(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 \