summaryrefslogtreecommitdiff
path: root/bridges/test/java_uno/any/TestAny.java
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/test/java_uno/any/TestAny.java')
-rw-r--r--bridges/test/java_uno/any/TestAny.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/bridges/test/java_uno/any/TestAny.java b/bridges/test/java_uno/any/TestAny.java
index 3913fe8eba4b..ec9ac5fb4162 100644
--- a/bridges/test/java_uno/any/TestAny.java
+++ b/bridges/test/java_uno/any/TestAny.java
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: TestAny.java,v $
- * $Revision: 1.5 $
+ * $Revision: 1.5.20.1 $
*
* This file is part of OpenOffice.org.
*
@@ -2044,6 +2044,16 @@ final class TestAny {
new DerivedInterface() {}),
new CompareBoxed());
+ // Misc:
+ try {
+ transport.mapAny(new Object());
+ System.out.println("BAD mapAny(Object), no exception");
+ success = false;
+ } catch (StackOverflowError e) {
+ System.out.println("BAD mapAny(Object): " + e);
+ success = false;
+ } catch (RuntimeException e) {}
+
return success;
}