add compiler release
diff --git a/pom.xml b/pom.xml
index e5bce89..6746102 100644
--- a/pom.xml
+++ b/pom.xml
@@ -725,6 +725,22 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>jdk9-compile</id>
+            <activation>
+                <jdk>[1.9,)</jdk>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-compiler-plugin</artifactId>
+                        <configuration>
+                            <release>8</release>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>