Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 11/27/2012 12:48 AM, Libreoffice Gerrit user wrote:
commit cb1b0ddbb40ea2afcc41d117ab4abb04ca0e58bf
Author: Michael Stahl <mstahl@redhat.com>
Date:   Tue Nov 27 00:44:49 2012 +0100

     accessibility: WNT only IllegalArgumentException java problem

     Change-Id: I9d251964d5fd00789dc831b7e55684c772c65fdf

diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Button.java 
b/accessibility/bridge/org/openoffice/java/accessibility/Button.java
index 645840e..e0895ad 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Button.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Button.java
@@ -46,7 +46,7 @@ class Button extends AbstractButton implements javax.accessibility.Accessible {
                      (javax.accessibility.Accessible) Button.this.getComponent( xAccessible );

                      return accessible.getAccessibleContext();
-            } catch( com.sun.star.uno.Exception e ) {
+            } catch (com.sun.star.lang.IllegalArgumentException e) {
                  return null;
              }
          }

So this is a case where <http://cgit.freedesktop.org/libreoffice/core/commit/?id=31170413ae3786bf44564e813d7291354e939a77> "API CHANGE: com.sun.star.lang.IllegalArgumentException" silently (sans rebuild) breaks existing code.

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.