Package: eclipselink
Version: 2.1.3-1
Severity: normal
Tags: patch

Hi,

eclipselink FTBFS with Java7 as default-java due to an API change in
Java's SQL libraries.  Attached is a patch for that problem.  There is
a second problem in that the javadoc is no longer generated due to an
encoding issue in 3 of the Java files (Caveat: the build does not
fail in this case!).
  I would have attached a patch for that, but file(1) does not tell me
what encoding they have[1].  It may be possible to avoid the encoding
issue all together by passing adding a esource="1.5" to the javadoc tag
in debian/build.xml, but I didn't try that.

~Niels

[1] eclipselink/org/eclipse/persistence/config/PersistenceUnitProperties.java: 
Non-ISO extended-ASCII text, with CRLF line terminators
diff --git a/org/eclipse/persistence/internal/jpa/jdbc/DataSourceImpl.java b/org/eclipse/persistence/internal/jpa/jdbc/DataSourceImpl.java
index 44dd8a6..3c3e44a 100644
--- a/org/eclipse/persistence/internal/jpa/jdbc/DataSourceImpl.java
+++ b/org/eclipse/persistence/internal/jpa/jdbc/DataSourceImpl.java
@@ -154,4 +154,10 @@ public class DataSourceImpl implements DataSource {
         return false;
     }
 
+    /*
+     * Java7 compat.
+     */
+    public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException {
+        throw new java.sql.SQLFeatureNotSupportedException();
+    }
 }
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to