[Git][java-team/jboss-modules][master] 3 commits: New upstream version 1.8.7

Markus Koschany gitlab at salsa.debian.org
Sun Nov 25 13:00:42 GMT 2018


Markus Koschany pushed to branch master at Debian Java Maintainers / jboss-modules


Commits:
8b6890d2 by Markus Koschany at 2018-11-25T12:52:04Z
New upstream version 1.8.7
- - - - -
651931e4 by Markus Koschany at 2018-11-25T12:52:09Z
Update upstream source from tag 'upstream/1.8.7'

Update to upstream version '1.8.7'
with Debian dir db64a30af7dcf0849bb12b732d781c1209fb948d
- - - - -
6e515221 by Markus Koschany at 2018-11-25T12:53:07Z
Update changelog

- - - - -


4 changed files:

- debian/changelog
- pom.xml
- src/main/java/org/jboss/modules/ModuleLoadException.java
- src/main/java/org/jboss/modules/xml/ModuleXmlParser.java


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+jboss-modules (1.8.7-1) unstable; urgency=medium
+
+  * New upstream version 1.8.7.
+
+ -- Markus Koschany <apo at debian.org>  Sun, 25 Nov 2018 13:52:57 +0100
+
 jboss-modules (1.8.6-2) unstable; urgency=medium
 
   * Add java11.patch and work around FTBFS with OpenJDK 11. (Closes: #912296)


=====================================
pom.xml
=====================================
@@ -23,7 +23,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.jboss.modules</groupId>
     <artifactId>jboss-modules</artifactId>
-    <version>1.8.6.Final</version>
+    <version>1.8.7.Final</version>
     <name>JBoss Modules</name>
 
     <parent>


=====================================
src/main/java/org/jboss/modules/ModuleLoadException.java
=====================================
@@ -71,6 +71,8 @@ public class ModuleLoadException extends Exception {
      * @return the unchecked error
      */
     public ModuleLoadError toError() {
-        return new ModuleLoadError(getMessage(), getCause());
+        final ModuleLoadError error = new ModuleLoadError(getMessage(), getCause());
+        error.setStackTrace(getStackTrace());
+        return error;
     }
 }


=====================================
src/main/java/org/jboss/modules/xml/ModuleXmlParser.java
=====================================
@@ -1019,6 +1019,9 @@ public final class ModuleXmlParser {
                         try {
                             coordinates = ArtifactCoordinates.fromString(name);
                             final File file = mavenResolver.resolveJarArtifact(coordinates);
+                            if (file == null) {
+                                throw new XmlPullParserException(String.format("Failed to resolve artifact '%s'", coordinates), reader, null);
+                            }
                             resourceLoader = factory.createResourceLoader("", file.getPath(), name);
                         } catch (IOException | IllegalArgumentException e) {
                             throw new XmlPullParserException(String.format("Failed to add artifact '%s'", name), reader, e);



View it on GitLab: https://salsa.debian.org/java-team/jboss-modules/compare/2705da56ec52189b65c5813587bb121ffd96454d...6e5152219dac3c680ae645e5bab94337626a8454

-- 
View it on GitLab: https://salsa.debian.org/java-team/jboss-modules/compare/2705da56ec52189b65c5813587bb121ffd96454d...6e5152219dac3c680ae645e5bab94337626a8454
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20181125/539de748/attachment.html>


More information about the pkg-java-commits mailing list