Re: Patch to remove connection hook and JDK 1.3 dependencies - Mailing list pgsql-jdbc

From Joseph Shraibman
Subject Re: Patch to remove connection hook and JDK 1.3 dependencies
Date
Msg-id 3B4A58CD.696DF57B@selectacast.net
Whole thread Raw
In response to Re: Re: Patch to remove connection hook and JDK 1.3 dependencies  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-jdbc
Joseph Shraibman wrote:
>

<snip>
> to do Bad Things.  The java.policy file can have an entry to allow only
> code in org.postgres to add shutdown hooks (maybe we should put this in
> the documentation).
>

grant codeBase "file:///usr/local/pgsql/share/java/" {
 permission java.lang.RuntimePermission "shutdownHooks";
};

I think there is a way to grant permission based on what package a class
is in (i.e. org.postgres) but I couln't find it.

--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com

pgsql-jdbc by date:

Previous
From: Joseph Shraibman
Date:
Subject: Re: prepared statement performance
Next
From: Anders Bengtsson
Date:
Subject: Re: [PATCH] Cleanup of JDBC character encoding