Return-Path: X-Original-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A2CDC9CED for ; Thu, 1 Mar 2012 21:56:20 +0000 (UTC) Received: (qmail 33107 invoked by uid 500); 1 Mar 2012 21:56:20 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 32783 invoked by uid 500); 1 Mar 2012 21:56:19 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 32761 invoked by uid 99); 1 Mar 2012 21:56:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 21:56:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 21:56:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 714443228 for ; Thu, 1 Mar 2012 21:55:58 +0000 (UTC) Date: Thu, 1 Mar 2012 21:55:58 +0000 (UTC) From: =?utf-8?Q?Juan_Pablo_Santos_Rodr=C3=ADguez_=28Commented=29_=28JIRA=29?= To: jspwiki-dev@incubator.apache.org Message-ID: <1865898239.9061.1330638958465.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <225334504.27836.1330434768309.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (JSPWIKI-722) Build broken under jdk 1.7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-722?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D132= 20403#comment-13220403 ]=20 Juan Pablo Santos Rodr=C3=ADguez commented on JSPWIKI-722: ----------------------------------------------------- Hello Mike, unfortunately, we can't apply the attached patch: the build is targetted fo= r Java 1.5 and the patch breaks this: - first, it uses SQLFeatureNotSupportedException, which is only available u= nder Java 6 and onwards. - second, it's annotated with @Override, which, under a JDK6 (or downwards)= isn't true. So, to include the patch, getParentLogger should not throw any exception in= its signature (also it could possibly return null), and it should not be a= nnotated with @Override It would be nice to have this in the upcoming RC, so if you attach a new pa= tch we can include it on trunk + 2.8 branch. =20 > Build broken under jdk 1.7 > -------------------------- > > Key: JSPWIKI-722 > URL: https://issues.apache.org/jira/browse/JSPWIKI-722 > Project: JSPWiki > Issue Type: Bug > Components: Servlet Container/Java compatibility > Affects Versions: 2.8.5 > Environment: JDK 1.7 > Reporter: Mike Morris > Priority: Minor > Labels: newbie > Attachments: getParentLoggerPatch.diff > > Original Estimate: 10m > Remaining Estimate: 10m > > Attempting to build under JDK 1.7 causes a compile failure on test class = org.apache.wiki.TestJDBCDataSource. > JDK1.7 introduces a new method getParentLogger() in javax.sql.CommonDataS= ource which is not implemented by TestJDBCDataSource. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira