[kepler-dev] [Bug 2706] New: - Compile failure under Java 1.6 in DBConnection class

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Sun Dec 17 14:46:21 PST 2006


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2706

           Summary: Compile failure under Java 1.6 in DBConnection class
           Product: Kepler
           Version: 1.0.0beta2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: berkley at nceas.ucsb.edu
        ReportedBy: higgins at nceas.ucsb.edu
         QAContact: kepler-dev at ecoinformatics.org


org.ecoinformatics.util.DBConnection is "a simple wrapper around a
java.sql.Connection." However, the Connection class has some added methods in
the newly released Java 1.6. This causes the error
    [javac]
C:\work\kepler\build\src\org\ecoinformatics\util\DBConnectionFactory
.java:74: org.ecoinformatics.util.DBConnection is abstract; cannot be
instantiat
ed
    [javac]          return new DBConnection(conn);
    [javac]                 ^
when Kepler is compiled under Java 1.6.
Need to wrap additonal 1.6 methods but still insure the code works for java 1.5
and below!


More information about the Kepler-dev mailing list