[libhibernate-commons-annotations-java] 05/08: Fixed the test failure with Java 8 (Closes: #750754)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri May 22 13:10:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libhibernate-commons-annotations-java.
commit 59cdb5dfece27849e43bf33d9921dcadf7ea090a
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Fri May 22 13:52:20 2015 +0200
Fixed the test failure with Java 8 (Closes: #750754)
---
debian/changelog | 1 +
debian/patches/01-java8-compatibility.patch | 15 +++++++++++++++
debian/patches/series | 1 +
3 files changed, 17 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e18dc66..df904ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
libhibernate-commons-annotations-java (3.2.0.Final-3) UNRELEASED; urgency=medium
* Team upload.
+ * Fixed the test failure with Java 8 (Closes: #750754)
* debian/control:
- Standards-Version updated to 3.9.6 (no changes)
* debian/watch: Updated to fetch the new releases from Github
diff --git a/debian/patches/01-java8-compatibility.patch b/debian/patches/01-java8-compatibility.patch
new file mode 100644
index 0000000..bca4dff
--- /dev/null
+++ b/debian/patches/01-java8-compatibility.patch
@@ -0,0 +1,15 @@
+Description: Fixes a test failure with Java 8
+Author: Emmanuel Bourg <ebourg at apache.org>
+Bug: https://hibernate.atlassian.net/browse/HCANN-66
+Bug-Debian: https://bugs.debian.org/750754
+--- a/src/test/java/org/hibernate/annotations/common/test/annotationfactory/TestAnnotation.java
++++ b/src/test/java/org/hibernate/annotations/common/test/annotationfactory/TestAnnotation.java
+@@ -7,7 +7,7 @@
+ * @author Paolo Perrotta
+ * @author Davide Marchignoli
+ */
+- at interface TestAnnotation {
++public @interface TestAnnotation {
+ String stringElement();
+
+ String elementWithDefault() default "abc";
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3209aba
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-java8-compatibility.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libhibernate-commons-annotations-java.git
More information about the pkg-java-commits
mailing list