[Git][java-team/jameica][upstream] New upstream version 2.8.4+dfsg

Jochen Sprickerhof gitlab at salsa.debian.org
Mon Feb 11 13:10:19 GMT 2019


Jochen Sprickerhof pushed to branch upstream at Debian Java Maintainers / jameica


Commits:
af74bdda by Jochen Sprickerhof at 2019-02-11T13:08:12Z
New upstream version 2.8.4+dfsg
- - - - -


5 changed files:

- build/BUILD
- build/ChangeLog
- plugin.xml
- src/de/willuhn/jameica/gui/internal/parts/PluginListPart.java
- src/de/willuhn/jameica/plugin/PlaceholderPlugin.java


Changes:

=====================================
build/BUILD
=====================================
@@ -1,3 +1,3 @@
 #Build Number for ANT. Do not edit!
-#Mon Sep 17 11:59:35 CEST 2018
-build.number=451
+#Tue Jan 29 15:28:30 CET 2019
+build.number=452


=====================================
build/ChangeLog
=====================================
@@ -1,4 +1,8 @@
-2019-01-30 Version 2.8.3
+2019-02-11 Version 2.8.4
+
+  * BUG: In der Liste der verfügbaren Plugins kam es zu einem Fehler, wenn in der Liste der Plugins Scripting-Plugins enthalten waren - Proxy.newProxyInstance hat scheinbar in Java das Verhalten geändert, wenn der Classloader NULL ist
+  
+2019-01-29 Version 2.8.3
 
   * CHG: Popups verwenden jetzt als Fallback eigene Farben für Vorder- und Hintergrund, wenn keine Systemfarben vorgegeben sind oder Vorder- und Hintergrund identisch wären
   * CHG: Jameica verwendet jetzt unter Linux per Default GTK3 (siehe "SWT_GTK3=1" in jameica.sh)


=====================================
plugin.xml
=====================================
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?> 
 
-<system name="Jameica" version="2.8.3">
+<system name="Jameica" version="2.8.4">
 
   <description>Jameica - Java based messages interchange</description>
-  <url>https://www.willuhn.de/products/jameica/releases/2.8/jameica/jameica-2.8.3.zip</url>
+  <url>https://www.willuhn.de/products/jameica/releases/2.8/jameica/jameica-2.8.4.zip</url>
   <homepage>https://www.willuhn.de/projects/jameica</homepage>
   <license>GPL - http://www.gnu.org/copyleft/gpl.html</license>
 


=====================================
src/de/willuhn/jameica/gui/internal/parts/PluginListPart.java
=====================================
@@ -440,11 +440,18 @@ public class PluginListPart implements Part
                       if (list.size() == 0)
                         continue;
                       
-                      // Wir nehmen das Manifest des ersten
-                      Manifest mf = list.get(0).getManifest();
-                      PluginDetailPart part = new PluginDetailPart(mf, list, Type.AVAILABLE);
-                      availableParts.put(e.getKey(),part);
-                      part.paint(availableList.getComposite());
+                      try
+                      {
+                        // Wir nehmen das Manifest des ersten
+                        Manifest mf = list.get(0).getManifest();
+                        PluginDetailPart part = new PluginDetailPart(mf, list, Type.AVAILABLE);
+                        availableParts.put(e.getKey(),part);
+                        part.paint(availableList.getComposite());
+                      }
+                      catch (Exception ex)
+                      {
+                        Logger.error("unable to load plugin details, skipping",ex);
+                      }
                     }
                   }
                 }


=====================================
src/de/willuhn/jameica/plugin/PlaceholderPlugin.java
=====================================
@@ -51,7 +51,8 @@ public class PlaceholderPlugin implements Plugin
   public static Plugin createInstance(Manifest manifest)
   {
     InvocationHandler handler = new PlaceholderInvocationHandler(new PlaceholderPlugin(manifest));
-    return (Plugin) Proxy.newProxyInstance(manifest.getClassLoader(),new Class[]{Plugin.class},handler);
+    final ClassLoader loader = manifest.getClassLoader();
+    return (Plugin) Proxy.newProxyInstance(loader != null ? loader : Application.getClassLoader(),new Class[]{Plugin.class},handler);
   }
   
   /**



View it on GitLab: https://salsa.debian.org/java-team/jameica/commit/af74bdda3a65d600ebcb708283bdece405693739

-- 
View it on GitLab: https://salsa.debian.org/java-team/jameica/commit/af74bdda3a65d600ebcb708283bdece405693739
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/20190211/3c6fe1d2/attachment.html>


More information about the pkg-java-commits mailing list