BUG #5501: PostgreSQL JDBC Driver has inappropriate import

From: "Dave Jarvis" <thangalin(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5501: PostgreSQL JDBC Driver has inappropriate import
Date: 2010-06-12 06:42:36
Message-ID: 201006120642.o5C6ga3H079463@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5501
Logged by: Dave Jarvis
Email address: thangalin(at)gmail(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2010-06-12 15:31:57 Re: BUG #5498: PgAdmin III write to file adds carriage return
Previous Message Alvaro Herrera 2010-06-11 23:38:14 Re: BUG #5500: SPI_execute_plan_with_paramlist SPI_ERROR_TRANSACTION with savepoint