summaryrefslogtreecommitdiff
path: root/lang/pom.xml
diff options
context:
space:
mode:
authorDebian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>2019-02-28 15:38:12 +0100
committerAndrej Shadura <andrewsh@debian.org>2019-02-28 15:38:12 +0100
commite9b30df756bf001da304f9eeb0bbec6783fd0e69 (patch)
treee6c237cebfb8806e4e269ffea43f77a01fd80c82 /lang/pom.xml
parent2304744868f4b267a8a6b7bc4e57a64450a3f42e (diff)
java11
Gbp-Pq: Name java11.patch
Diffstat (limited to 'lang/pom.xml')
-rwxr-xr-xlang/pom.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/lang/pom.xml b/lang/pom.xml
index b3210ab..dca5013 100755
--- a/lang/pom.xml
+++ b/lang/pom.xml
@@ -149,9 +149,15 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.6</source>
- <target>1.6</target>
+ <source>1.9</source>
+ <target>1.9</target>
+ <fork>true</fork>
<encoding>UTF-8</encoding>
+ <compilerArgs>
+ <arg>--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED</arg>
+ <arg>--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED</arg>
+ <arg>--add-exports=java.base/sun.nio.ch=ALL-UNNAMED</arg>
+ </compilerArgs>
</configuration>
</plugin>
</plugins>