Github user ppadma commented on a diff in the pull request: https://github.com/apache/drill/pull/676#discussion_r91422118 --- Diff: exec/jdbc/src/test/java/org/apache/drill/jdbc/test/Drill2489CallsAfterCloseThrowExceptionsTest.java --- @@ -477,18 +477,32 @@ public void testClosedConnectionMethodsThrowRight() { } @Override + protected boolean isOkayNonthrowingMethod(Method method) { + // Java 8 method + if ( "getLargeUpdateCount".equals(method.getName())) { + return true; } + return super.isOkayNonthrowingMethod(method); + } + + @Override protected boolean isOkaySpecialCaseException(Method method, Throwable cause) { final boolean result; if (super.isOkaySpecialCaseException(method, cause)) { result = true; } + else if ( method.getName().equals("executeLargeBatch") --- End diff -- remove extra space after if.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---