Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group