8036965: 9-dev solaris builds failed: sort: can't read STDIN: Illegal byte sequence
Reviewed-by: henryjen, tbell, ihse
--- a/make/common/JavaCompilation.gmk Fri Mar 07 10:48:18 2014 -0800
+++ b/make/common/JavaCompilation.gmk Tue Mar 11 12:04:27 2014 +0100
@@ -364,7 +364,7 @@
| $(SED) -e '/^#/d' -e '/^$$$$/d' \
-e :a -e '/\\$$$$/N; s/\\\n//; ta' \
-e 's/^[ \t]*//;s/[ \t]*$$$$//' \
- -e 's/\\=/=/' | LANG=C $(SORT) > $$@
+ -e 's/\\=/=/' | LC_ALL=C $(SORT) > $$@
$(CHMOD) -f ug+w $$@
# And do not forget this target