Robert Harvey ([EMAIL PROTECTED]) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
JDBC PGcircle objects radius member variable is not Public

Long Description
Hi,

I am using the following version of Postgresql

PostgreSQL 7.1 on i686-pc-linux-gnu, compiled by GCC egcs-2.91.66

This was obtained for RedHatLinux 7.1 as a set of RPMs, all with version 7.1-1

I am trying to use the JDBC client interface, and when I try to compile Java code that 
references the "radius" member variable of the PGcircle object, the compiler produces 
the following output.

*****
cd /d/home/rob/GisProject/dev/pjgis/database/postgresql/
javac -classpath 
"/usr/share/pgsql/jdbc7.0-1.2.jar:/d/home/rob/GisProject/dev/:/d/home/rob/GisProject/dev/pjgis/database/postgresql"
 PGCircleField.java
PGCircleField.java:45: radius is not public in org.postgresql.geometric.PGcircle; 
cannot be accessed from outside package
        double r = c.radius;
                    ^
1 error
Compilation exited abnormally with code 1 at Tue Aug 28 23:45:39
******

Within the postgres documentation for the JDBC client interface it is shown that the 
"radius" field *should* be public.

Best regards,

Robert Harvey.

PS The JDBC client interface is proving very useful in my studies... thank you for 
your endeavours.

Sample Code


No file was uploaded with this report


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to