unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 040042976acbe8f155d892b2e74b54c6b7cb3e8f 882 bytes (raw)
name: gnu/packages/patches/java-openjfx-build-web-js-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 
Fix test from later revision

report: https://bugs.openjdk.org/browse/JDK-8212014

fix: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/697a138c3b6b

diff --git a/modules/web/src/test/java/javafx/scene/web/JavaScriptBridgeTest.java b/modules/web/src/test/java/javafx/scene/web/JavaScriptBridgeTest.java
--- a/modules/web/src/test/java/javafx/scene/web/JavaScriptBridgeTest.java
+++ b/modules/web/src/test/java/javafx/scene/web/JavaScriptBridgeTest.java
@@ -578,7 +578,7 @@
             bind("alist", alist);
             Integer[] iarr = new Integer[4];
             bind("iarr", iarr);
-            Object r = web.executeScript("alist.toArray(iarr)");
+            Object r = web.executeScript("alist['toArray(Object[])'](iarr)");
             assertSame(iarr, r);
             assertEquals("98/87/76/null",
                          iarr[0]+"/"+iarr[1]+"/"+iarr[2]+"/"+iarr[3]);

debug log:

solving 040042976a ...
found 040042976a in https://yhetil.org/guix-patches/CAMRHuGDzuvyq7gUO57dy=-qH=+LT70unj7O_hwnNkiAgCAsMtA@mail.gmail.com/ ||
	https://yhetil.org/guix-patches/CAMRHuGDr_x6YdUgmOFkLkCX+ZgZpJ8o7RHwnVWuaX3TExYMqhg@mail.gmail.com/

applying [1/1] https://yhetil.org/guix-patches/CAMRHuGDzuvyq7gUO57dy=-qH=+LT70unj7O_hwnNkiAgCAsMtA@mail.gmail.com/
diff --git a/gnu/packages/patches/java-openjfx-build-web-js-test.patch b/gnu/packages/patches/java-openjfx-build-web-js-test.patch
new file mode 100644
index 0000000000..040042976a

Checking patch gnu/packages/patches/java-openjfx-build-web-js-test.patch...
Applied patch gnu/packages/patches/java-openjfx-build-web-js-test.patch cleanly.

skipping https://yhetil.org/guix-patches/CAMRHuGDr_x6YdUgmOFkLkCX+ZgZpJ8o7RHwnVWuaX3TExYMqhg@mail.gmail.com/ for 040042976a
index at:
100644 040042976acbe8f155d892b2e74b54c6b7cb3e8f	gnu/packages/patches/java-openjfx-build-web-js-test.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).