]> source.dussan.org Git - tigervnc.git/commitdiff
Allow java viewer to load without manifest properly 103/head
authorToni Spets <toni.spets@iki.fi>
Tue, 20 Jan 2015 19:30:34 +0000 (21:30 +0200)
committerToni Spets <toni.spets@iki.fi>
Wed, 1 Jul 2015 13:57:58 +0000 (16:57 +0300)
java/com/tigervnc/vncviewer/CConn.java
java/com/tigervnc/vncviewer/VncViewer.java

index 93420512c39751bea982cae17f95e9cdb4df1201..ec52f6e99fa9b933f015a095cd4178a91792081c 100644 (file)
@@ -781,7 +781,7 @@ public class CConn extends CConnection implements
       Attributes attributes = manifest.getMainAttributes();
       pkgDate = attributes.getValue("Package-Date");
       pkgTime = attributes.getValue("Package-Time");
-    } catch (IOException e) { }
+    } catch (java.lang.Exception e) { }
 
     Window fullScreenWindow = Viewport.getFullScreenWindow();
     if (fullScreenWindow != null)
index 1e0f22301115c90d14a9dcd4659d376c31b7dc3c..cc21c2e1b13a2379efd3dc1bbcf3627691a4513b 100644 (file)
@@ -365,7 +365,7 @@ public class VncViewer extends javax.swing.JApplet
         build = attributes.getValue("Build");
         buildDate = attributes.getValue("Package-Date");
         buildTime = attributes.getValue("Package-Time");
-      } catch (java.io.IOException e) { }
+      } catch (java.lang.Exception e) { }
     }
   }