Support build on Java 11
Closed this issue · 1 comments
dnskr commented
Problem
Current implementation does not allow to build project using Java 11.
Issue 1
Module stats
has missing dependency:
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
Solution: Add missing dependency.
Issue 2
Module jmx
uses sun.management.Agent
class in com.facebook.airlift.jmx.JmxAgent8
:
airlift/jmx/src/main/java/com/facebook/airlift/jmx/JmxAgent8.java
Lines 20 to 22 in 88c682a
Solution: cherry-pick airlift@cb70a83 or implement similar solution.
rschlussel commented
also let's add another github actions for java 11 so we don't break it again.