Обсуждение: pgsql/src/interfaces/jdbc/org/postgresql PG_St ...

Поиск
Список
Период
Сортировка

pgsql/src/interfaces/jdbc/org/postgresql PG_St ...

От
Bruce Momjian - CVS
Дата:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    momjian@hub.org    01/08/26 13:08:48

Modified files:
    src/interfaces/jdbc/org/postgresql: PG_Stream.java

Log message:
    Please pull this patch.  It breaks JDBC1 support.  The JDBC1 code no
    longer compiles, due to objects being referenced in this patch that do
    not exist in JDK1.1.

    Barry Lind
    ---------------------------------------------------------------------------

    The JDBC driver requires

    permission java.net.SocketPermission "host:port", "connect";

    in the policy file of the application using the JDBC driver
    in the postgresql.jar file.  Since the Socket() call in the
    driver is not protected by AccessController.doPrivileged() this
    permission must also be granted to the entire application.