Community
Participate
Working Groups
Build Identifier: Static method with the follow signature does not get wrapped in a try-catch-sneakThrow when used in a local method: public static String toString(final HttpEntity entity) throws IOException, ParseException {...} ParseException extends RuntimeException The following signature works fine: public static void consume(final HttpEntity entity) throws IOException {...} Reproducible: Always Steps to Reproduce: // Does not generate try-catch-sneakyThrow def consumeToString(HttpEntity entity) { return EntityUtils::toString(entity) } // Does generate try-catch-sneakyThrow def consume(HttpEntity entity) { EntityUtils::consume(entity) }
Could not reproduce with HEAD revision. But it looks pretty much like bug 365165 which has been fixed in the meantime.
Closing all bugs that were set to RESOLVED before Neon.0