Closed dnskr closed 4 months ago
Current implementation does not allow to build project using Java 11.
Module stats has missing dependency:
stats
<dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> </dependency>
Solution: Add missing dependency.
Module jmx uses sun.management.Agent class in com.facebook.airlift.jmx.JmxAgent8: https://github.com/prestodb/airlift/blob/88c682a03589658e8e0b61f629dee2e3c2b1039c/jmx/src/main/java/com/facebook/airlift/jmx/JmxAgent8.java#L20-L22 Solution: cherry-pick https://github.com/airlift/airlift/commit/cb70a835858d6a823f39989916d75dee09af5930 or implement similar solution.
jmx
sun.management.Agent
com.facebook.airlift.jmx.JmxAgent8
also let's add another github actions for java 11 so we don't break it again.
Problem
Current implementation does not allow to build project using Java 11.
Issue 1
Module
stats
has missing dependency:Solution: Add missing dependency.
Issue 2
Module
jmx
usessun.management.Agent
class incom.facebook.airlift.jmx.JmxAgent8
: https://github.com/prestodb/airlift/blob/88c682a03589658e8e0b61f629dee2e3c2b1039c/jmx/src/main/java/com/facebook/airlift/jmx/JmxAgent8.java#L20-L22 Solution: cherry-pick https://github.com/airlift/airlift/commit/cb70a835858d6a823f39989916d75dee09af5930 or implement similar solution.