[jruby-maven-plugins] 04/07: Fixed a flawed assertion that fail to compile with the source level 1.7 (Closes: #867648)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Sep 5 21:47:56 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository jruby-maven-plugins.

commit b5b18945b8fa0db45e2adfdd0de73de61b22e261
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Sep 5 23:14:10 2017 +0200

    Fixed a flawed assertion that fail to compile with the source level 1.7 (Closes: #867648)
---
 debian/changelog                   |  2 ++
 debian/patches/fix-assertion.patch | 11 +++++++++++
 debian/patches/series              |  1 +
 3 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 10ed9fa..c01bf3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 jruby-maven-plugins (1.1.5+ds1-2) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Fixed a flawed assertion that fail to compile with the source level 1.7
+    (Closes: #867648)
   * Removed plexus-archiver.patch and depend on libplexus-archiver-java (>= 3.5)
   * Standards-Version updated to 4.1.0
 
diff --git a/debian/patches/fix-assertion.patch b/debian/patches/fix-assertion.patch
new file mode 100644
index 0000000..0b7a634
--- /dev/null
+++ b/debian/patches/fix-assertion.patch
@@ -0,0 +1,11 @@
+--- a/ruby-tools/src/main/java/de/saumya/mojo/ruby/rails/RailsService.java
++++ b/ruby-tools/src/main/java/de/saumya/mojo/ruby/rails/RailsService.java
+@@ -23,7 +23,7 @@
+             final ScriptFactory factory, final GemManager gemManager,
+             final RailsManager manager) throws RailsException, IOException {
+         assert state != null;
+-        assert this.session != null;
++        assert repositorySystemSession != null;
+         assert factory != null;
+         assert manager != null;
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 755b9bd..b096578 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 disable-rubygems-repo.diff
 snakeyaml.patch
+fix-assertion.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-maven-plugins.git



More information about the pkg-java-commits mailing list