File: 10_javac_encoding_source_target_level.patch

package info (click to toggle)
knopflerfish-osgi 6.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,188 kB
  • sloc: java: 38,413; xml: 3,453; sh: 71; makefile: 23
file content (16 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Set encoding for javac run
Author: Felix Natter
Forwarded: no
Last-Update: 2017-08-25
--- a/osgi/framework/build.xml
+++ b/osgi/framework/build.xml
@@ -88,6 +88,9 @@
            includes          = "**/*.java"
            excludes          = "${androidSrcs},**/package-info.java"
            classpathref      = "compile.path"
+	   encoding          = "UTF-8"
+	   source            = "1.7"
+           target            = "1.7"
            >
       <compilerarg value="-Xlint:-options"/>
     </javac>