BUG #5501: PostgreSQL JDBC Driver has inappropriate import - Mailing list pgsql-bugs

From Dave Jarvis
Subject BUG #5501: PostgreSQL JDBC Driver has inappropriate import
Date
Msg-id 201006120642.o5C6ga3H079463@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5501: PostgreSQL JDBC Driver has inappropriate import
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5501
Logged by:          Dave Jarvis
Email address:      thangalin@gmail.com
PostgreSQL version: 8.4.4
Operating system:   Linux
Description:        PostgreSQL JDBC Driver has inappropriate import
Details:

PROBLEM
postgresql-jdbc-8.4-701.src/org/postgresql/gss/MakeGSS.java:21: package
com.sun.security.auth.callback does not exist
    [javac] import com.sun.security.auth.callback.TextCallbackHandler;
    [javac]                                      ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

SOLUTION
Remove the import line (the class is not used). You should not rely on Sun's
internal packages.

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #5500: SPI_execute_plan_with_paramlist SPI_ERROR_TRANSACTION with savepoint
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #5498: PgAdmin III write to file adds carriage return