public inbox for [email protected]  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Compilation with both JDK 5 and JDK 6
Date: Wed, 16 Jun 2010 16:35:31 -0400
Message-ID: <[email protected]> (raw)

Hi,

The attached patch takes care of the following issues.

1. It adds PostgreSQL 9.0 support.
2. It has the JDK support patch ( taken from *Petr Mich?lek original patch*
 )
3. It enables PLjava to be compiled with both JDK 5 and JDK 6.

Enabling PLjava to compile with both JDK versions is little bit tricky. If
we have to compile with JDK 6 , we need to implement some extra JDBC API
methods, that are not there in the JDK 1.5. So by keeping the same code we
cannot compile it against both JDK versions.
So instead of having *org/postgresql/pljava/jdbc *directory, we will have
two directories i.e.

*org/postgresql/pljava/jdbc3 (have JDK 1.5 compliant implementation)*
*org/postgresql/pljava/jdbc4 ( have JDK 6 compliant implementation)*
*
*
When we run make it will generate a * **org/postgresql/pljava/jdbc *
directory* *based on target JDK. By default it will be JDK 1.5, if user
exports USE_JDK6 then will be build with JDK 6 compliant.
*
*

Thanks,
-- 
Syed Muhammad Mansoor
Architect
EnterpriseDB Corporation
The Enterprise Postgres Company
Website: http://www.enterprisedb.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20100616/0396d224/attachment.html;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pljava_pg90_jdk5_jdk6.patch
Type: text/x-patch
Size: 1091747 bytes
Desc: not available
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20100616/0396d224/attachment.bin;



view thread (5+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Subject: Re: [Pljava-dev] Compilation with both JDK 5 and JDK 6
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox