boot/src/test/java/org/netbeans/html/boot/impl/JsMethods.java
branchgc
changeset 900 2ee22312e414
parent 655 7211ec5f3172
child 906 e1291f7b7626
     1.1 --- a/boot/src/test/java/org/netbeans/html/boot/impl/JsMethods.java	Mon May 19 13:42:49 2014 +0200
     1.2 +++ b/boot/src/test/java/org/netbeans/html/boot/impl/JsMethods.java	Fri Dec 12 11:22:40 2014 +0100
     1.3 @@ -134,4 +134,7 @@
     1.4      public static int plusOrMul(int x, int y) {
     1.5          return x * y;
     1.6      }
     1.7 +    
     1.8 +    @JavaScriptBody(args = { "x" }, keepAlive = false, body = "throw 'Do not call me!'")
     1.9 +    public static native boolean checkAllowGC(Object x);
    1.10  }