Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 0f2f73e

Browse files
sjoelundOpenModelica-Hudson
authored andcommitted
Run javac with encoding=utf8
The behaviour of javac changed such that comments containing utf-8 characters is now an error unless you specify the encoding of the file. Belonging to [master]: - #2366
1 parent e86a458 commit 0f2f73e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SimulationRuntime/java_interface/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include Makefile.common
66
modelica_java.jar: $(java_sources)
77
@echo "* Compiling modelica_java.jar"
88
@rm -rf bin-jar; mkdir bin-jar
9-
@"$(JAVAC)" -source 6 -cp "$(antlr)" -d bin-jar $(java_sources)
9+
@"$(JAVAC)" -encoding utf8 -source 6 -cp "$(antlr)" -d bin-jar $(java_sources)
1010
@$(JAR) cf modelica_java.jar $(java_sources:src/%=-C src %) $(resources:src/%=-C src %) -C bin-jar . || (rm $@ && false)
1111
test: $(java_sources)
1212
rm -rf bin-test; mkdir bin-test

0 commit comments

Comments
 (0)