Github user GJL commented on a diff in the pull request:
https://github.com/apache/flink/pull/5442#discussion_r167430276
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/webmonitor/WebMonitorUtils.java
---
@@ -207,6 +215,53 @@ public static WebMonitor startWebRuntimeMonitor(
}
}
+ @SuppressWarnings({"unchecked", "rawtypes"})
+ public static <T extends RestfulGateway>
List<Tuple2<RestHandlerSpecification, ChannelInboundHandler>>
tryLoadJarUploadHandler(
--- End diff --
Should be `T extends DispatcherGateway`
---