uschindler commented on pull request #1929: URL: https://github.com/apache/calcite/pull/1929#issuecomment-685704487
Hi, If your're interested here is a patch to fix the issue. The good thing: it also rmeove the stupid cast, because Javac can't guess the lambda's types: [javacbug.patch.txt](https://github.com/apache/calcite/files/5162279/javacbug.patch.txt) If this also fixes checkerframework, go for it! Actually this seems another bug, because moving the type outside of the try...catch (see my code, does not help), but moving to a method helps. To me this looks like a problem with javac and type parameters in combination with lambdas inside other lambdas. :-) ---------------------------------------------------------------- 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]
