Additional fix for 1.7.1
diff --git a/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java b/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
index 98e650f..e49713d 100644
--- a/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
+++ b/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
@@ -88,11 +88,21 @@
}
public void testWithCallback() {
- performTheTest(this::enterJavaScriptAndPerformIteration);
+ performTheTest(new Function<Integer,Integer>() {
+ @Override
+ public Integer apply(Integer t) {
+ return enterJavaScriptAndPerformIteration(t);
+ }
+ });
}
public void testWithoutCallback() {
- performTheTest(this::performIteration);
+ performTheTest(new Function<Integer,Integer>() {
+ @Override
+ public Integer apply(Integer t) {
+ return performIteration(t);
+ }
+ });
}
}