DORMANTno replies

[JGIT PATCH 1/1] Compile all Java sources in jgit as UTF-8

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:45:03
Subsystem: the rest · Maintainer: Linus Torvalds

We use a UTF-8 encoding in our source files whenever possible.
If the compiler assumes ASCII we sometimes get warnings parsing
copyright information for authors whose names aren't representable
in US-ASCII.

Signed-off-by: Shawn O. Pearce <redacted>
---
 make_jgit.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/make_jgit.sh b/make_jgit.sh
index 89df80c..13d0e32 100755
--- a/make_jgit.sh
+++ b/make_jgit.sh
@@ -58,6 +58,7 @@ do
 	 xargs javac \
 		-source 1.5 \
 		-target 1.5 \
+		-encoding UTF-8 \
 		-g \
 		-d ../bin2) || die "Building $p failed."
 	CLASSPATH="$CLASSPATH:$R/$p/bin2"
-- 
1.6.0.rc0.182.gb96c7
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help