Re: Patch to remove connection hook and JDK 1.3 dependencies

Поиск
Список
Период
Сортировка
От Joseph Shraibman
Тема Re: Patch to remove connection hook and JDK 1.3 dependencies
Дата
Msg-id 3B4A58CD.696DF57B@selectacast.net
обсуждение исходный текст
Ответ на Re: Re: Patch to remove connection hook and JDK 1.3 dependencies  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Joseph Shraibman
Дата:
Сообщение: Re: prepared statement performance
Следующее
От: Anders Bengtsson
Дата:
Сообщение: Re: [PATCH] Cleanup of JDBC character encoding