Re: Patch to remove connection hook and JDK 1.3 dependencies

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Barry Lind <barry(at)xythos(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Patch to remove connection hook and JDK 1.3 dependencies
Date: 2001-07-10 01:22:21
Message-ID: 3B4A58CD.696DF57B@selectacast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-patches

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(at)selectacast(dot)net
Increase signal to noise ratio. http://www.targabot.com

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2001-07-10 01:29:29 Re: prepared statement performance
Previous Message Barry Lind 2001-07-10 01:21:54 Re: Too much data received?

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2001-07-10 01:30:51 RE: DROP CONSTRAINT (UNIQUE) preliminary support
Previous Message Joseph Shraibman 2001-07-10 00:59:59 Re: Re: Backups WAS: 2 gig file size limit