Return-Path: Delivered-To: apmail-legal-discuss-archive@www.apache.org Received: (qmail 12615 invoked from network); 29 Sep 2008 08:14:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Sep 2008 08:14:54 -0000 Received: (qmail 26925 invoked by uid 500); 29 Sep 2008 08:14:52 -0000 Delivered-To: apmail-legal-discuss-archive@apache.org Received: (qmail 26721 invoked by uid 500); 29 Sep 2008 08:14:51 -0000 Mailing-List: contact legal-discuss-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: Reply-To: legal-discuss@apache.org List-Id: Delivered-To: mailing list legal-discuss@apache.org Received: (qmail 26712 invoked by uid 99); 29 Sep 2008 08:14:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2008 01:14:51 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.78.103.231] (HELO vorsha.objectstyle.org) (208.78.103.231) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 29 Sep 2008 08:13:51 +0000 Received: (qmail 26451 invoked from network); 29 Sep 2008 08:13:23 -0000 Received: from unknown (HELO ?IPv6:::1?) (127.0.0.1) by localhost with SMTP; 29 Sep 2008 08:13:23 -0000 Message-Id: <147C8FCD-D03B-451F-BA62-FFFACCAF42A3@apache.org> From: Andrus Adamchik To: legal-discuss@apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Java 1.5 / 1.6 coexistence issues Date: Mon, 29 Sep 2008 11:13:22 +0300 X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org We are trying to setup Cayenne ORM project structure to be both buildable and runnable under Java 1.5 and 1.6. ("buildable" is important for non-64-bit Intel Mac users. There's no Java 6 for those older Macs). The problem is that we are implementing a bunch of java[x].sql interfaces in Cayenne that have changed between the versions of Java. So take for instance a class implementing java.sql.ResultSet. To be able to compile against 1.6 jars, we need methods like this: public java.sql.SQLXML getSQLXML(int) {...} Which does not compile against 1.5 jars. So what I am thinking is building a small "JDBC4-compatibility" Maven module based on OpenJDK (or Sun JRE) that contains needed interfaces from java[x].sql packages. It will be done outside Apache. Then the plan to make it a Cayenne "provided" dependency. I.e. it won't be shipped with Cayenne. Any licensing considerations with this approach? Thanks, Andrus --------------------------------------------------------------------- DISCLAIMER: Discussions on this list are informational and educational only. Statements made on this list are not privileged, do not constitute legal advice, and do not necessarily reflect the opinions and policies of the ASF. See for official ASF policies and documents. --------------------------------------------------------------------- To unsubscribe, e-mail: legal-discuss-unsubscribe@apache.org For additional commands, e-mail: legal-discuss-help@apache.org