zentol commented on a change in pull request #8605: [FLINK-9363] bump up
flink-shaded dependencies version to 7.0
URL: https://github.com/apache/flink/pull/8605#discussion_r291484799
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/AbstractHandler.java
##########
@@ -123,7 +124,7 @@ protected void respondAsLeader(ChannelHandlerContext ctx,
RoutedRequest routedRe
} else {
try {
ByteBufInputStream in = new
ByteBufInputStream(msgContent);
- request = MAPPER.readValue(in,
untypedResponseMessageHeaders.getRequestClass());
+ request =
MAPPER.readValue((InputStream) in,
untypedResponseMessageHeaders.getRequestClass());
Review comment:
you can solve this in a nicer way by changing the line above to `InputStream
in = new ByteBufInputStream(msgContent);`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services