rt/vmtest/src/test/java/org/apidesign/bck2brwsr/tck/ReflectionTest.java
branchmodel
changeset 938 0eec1b51c13c
parent 886 88540bb74300
child 962 787578f33c21
     1.1 --- a/rt/vmtest/src/test/java/org/apidesign/bck2brwsr/tck/ReflectionTest.java	Mon Mar 25 16:16:30 2013 +0100
     1.2 +++ b/rt/vmtest/src/test/java/org/apidesign/bck2brwsr/tck/ReflectionTest.java	Sun Apr 07 15:24:45 2013 +0200
     1.3 @@ -104,6 +104,11 @@
     1.4          return "should not happen";
     1.5      }
     1.6  
     1.7 +    @Compare public String methodThatThrowsException() throws Exception {
     1.8 +        StaticUse.class.getMethod("instanceMethod").invoke(new StaticUse());
     1.9 +        return "should not happen";
    1.10 +    }
    1.11 +
    1.12      @Compare public Object voidReturnType() throws Exception {
    1.13          return StaticUse.class.getMethod("instanceMethod").getReturnType();
    1.14      }