summaryrefslogtreecommitdiff
path: root/lib/jinterface/java_src/com
diff options
context:
space:
mode:
authorSverker Eriksson <sverker@erlang.org>2022-02-06 22:50:23 +0100
committerJérôme de Bretagne <jerome.debretagne@gmail.com>2022-03-03 17:40:39 +0100
commit6bcfd5aaa66c208251357db3d5e8a2927a7af4d1 (patch)
treec43cacf15a40cdb40eda68dbbaf8cca32f0238c9 /lib/jinterface/java_src/com
parentc4f24d6718ac56c431f0fccf240c5b15482792ed (diff)
downloaderlang-6bcfd5aaa66c208251357db3d5e8a2927a7af4d1.tar.gz
jinterface: Pass -encoding UTF-8 to java compiler
Option passed to avoid being dependent on machine-specific locale which could assume pure ASCII source code for example.
Diffstat (limited to 'lib/jinterface/java_src/com')
-rw-r--r--lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile b/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile
index b6df7c53a5..089cf4ab1a 100644
--- a/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile
+++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile
@@ -2,9 +2,9 @@
#
# %CopyrightBegin%
-#
+#
# Copyright Ericsson AB 2000-2022. All Rights Reserved.
-#
+#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@@ -16,7 +16,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-#
+#
# %CopyrightEnd%
#
include $(ERL_TOP)/make/target.mk
@@ -82,7 +82,7 @@ ifneq ($(V),0)
JARFLAGS=-cfv
endif
-JAVA_OPTIONS = -Xlint
+JAVA_OPTIONS = -Xlint -encoding UTF-8
ifeq ($(TESTROOT),)
RELEASE_PATH="$(ERL_TOP)/release/$(TARGET)"